Completed
Push — master ( a12db9...82664b )
by Julito
86:55 queued 55:35
created

SettingsHelper::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/* For licensing terms, see /license.txt */
3
4
namespace Chamilo\SettingsBundle\Templating\Helper;
5
6
use Sylius\Bundle\SettingsBundle\Templating\Helper\SettingsHelperInterface;
7
use Symfony\Component\Templating\Helper\Helper;
8
9
/**
10
 * Class SettingsHelper
11
 * @package Chamilo\SettingsBundle\Templating\Helper
12
 */
13
//class SettingsHelper extends Helper implements SettingsHelperInterface
14
class SettingsHelper extends Helper
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19
    public function getName()
20
    {
21
        return 'chamilo_settings';
22
    }
23
24
    public function getSettings($schemaAlias)
25
    {
26
        return $this->settingsManager->load($schemaAlias);
27
    }
28
29
    public function getSettingsParameter($schemaAlias)
30
    {
31
        //return $this->settingsManager->load($schemaAlias);
32
    }
33
34
35
}
36