| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 71.43% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class ParametriTabellaTwigExtension extends \Twig_Extension |
||
| 8 | { |
||
| 9 | 1 | public function getFilters() |
|
| 10 | { |
||
| 11 | return array( |
||
| 12 | 1 | new \Twig_SimpleFilter('getparametrotabella', array($this, 'getParametroTabella')), |
|
| 13 | 1 | new \Twig_SimpleFilter('setparametrotabella', array($this, 'setParametroTabella')), |
|
| 14 | ); |
||
| 15 | } |
||
| 16 | 1 | public function getParametroTabella($parametro) |
|
| 17 | { |
||
| 18 | 1 | return ParametriTabella::getParameter($parametro); |
|
| 19 | } |
||
| 20 | public function setParametroTabella($parametro) |
||
| 23 | } |
||
| 24 | } |
||
| 25 |