Breaking: #106056 - Add setRequest and getRequest to extbase ValidatorInterface

See forge#106056

Description

Custom validators implementing \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface must now implement the methods setRequest() and getRequest().

Impact

Missing implementation of the methods setRequest() and getRequest() will now result in a PHP fatal error.

Affected installations

TYPO3 websites implementing \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface .

Migration

The methods setRequest() and getRequest() must be implemented in affected validators.

If no direct implementation of \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface is required, it is recommended to extend \TYPO3\CMS\Extbase\Validation\Validator\AbstractValidator , where both methods already are implemented.