| Total Complexity | 8 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class Preview extends Form implements propagateAttributeInterface |
||
| 25 | { |
||
| 26 | public function getHydrator() |
||
| 27 | { |
||
| 28 | if (!$this->hydrator) { |
||
| 29 | $hydrator = new EntityHydrator(); |
||
| 30 | $this->setHydrator($hydrator); |
||
| 31 | } |
||
| 32 | return $this->hydrator; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function init() |
||
| 52 | ), |
||
| 53 | ) |
||
| 54 | ); |
||
| 55 | } |
||
| 56 | |||
| 57 | public function setViewPartial($partial) |
||
| 60 | } |
||
| 61 | |||
| 62 | public function getViewPartial() |
||
| 63 | { |
||
| 64 | return 'form/preview.phtml'; |
||
| 65 | } |
||
| 66 | |||
| 67 | public function enableAll($enable = true) |
||
| 75 | } |
||
| 76 | } |
||
| 77 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.