| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class HasAccessViewHelper extends AbstractViewHelper |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @inheritdoc |
||
| 26 | */ |
||
| 27 | public function initializeArguments() |
||
| 28 | { |
||
| 29 | parent::initializeArguments(); |
||
| 30 | |||
| 31 | $this->registerArgument( |
||
| 32 | 'module', |
||
| 33 | 'string', |
||
| 34 | 'Name of the module, for instance Manager or Administration.', |
||
| 35 | true |
||
| 36 | ); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritdoc |
||
| 41 | */ |
||
| 42 | public function render() |
||
| 45 | } |
||
| 46 | } |
||
| 47 |