| 1 | <?php |
||
| 13 | class SettingsExtension extends \Twig_Extension |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var SettingsHelper |
||
| 17 | */ |
||
| 18 | private $helper; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param SettingsHelper $helper |
||
| 22 | */ |
||
| 23 | public function __construct($helper) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function getFunctions() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Load settings from given namespace. |
||
| 42 | * |
||
| 43 | * @param string $namespace |
||
| 44 | * |
||
| 45 | * @return array |
||
| 46 | */ |
||
| 47 | public function getSettings($namespace) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param $name |
||
| 54 | * @return mixed |
||
| 55 | */ |
||
| 56 | public function getSettingsParameter($name) |
||
| 61 | |||
| 62 | |||
| 63 | /** |
||
| 64 | * {@inheritdoc} |
||
| 65 | */ |
||
| 66 | public function getName() |
||
| 70 | } |
||
| 71 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.