| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class EditViewHelper extends AbstractTagBasedViewHelper |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $tagName = 'a'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritdoc |
||
| 32 | */ |
||
| 33 | public function initializeArguments() |
||
| 34 | { |
||
| 35 | parent::initializeArguments(); |
||
| 36 | |||
| 37 | $this->registerUniversalTagAttributes(); |
||
| 38 | |||
| 39 | $this->registerArgument( |
||
| 40 | 'notification', |
||
| 41 | Notification::class, |
||
| 42 | '', |
||
| 43 | true |
||
| 44 | ); |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @inheritdoc |
||
| 49 | */ |
||
| 50 | public function render() |
||
| 65 | } |
||
| 66 | } |
||
| 67 |