| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | protected function process() |
||
| 25 | { |
||
| 26 | \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump('Hello world!'); |
||
| 27 | \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->getFormObject(), '$this->getFormObject()?!'); |
||
| 28 | $formObject = $this->getFormObject(); |
||
| 29 | |||
| 30 | if ($formObject->hasForm()) { |
||
| 31 | $validator = new \Romm\Formz\Validation\Validator\Form\DefaultFormValidator(['name' => $this->getFormObject()->getName()]); |
||
| 32 | $result = $validator->validate($this->getFormObject()->getForm()); |
||
| 33 | |||
| 34 | \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($result, '$result???'); |
||
| 35 | } |
||
| 36 | } |
||
| 37 | |||
| 47 |