‪TYPO3CMS  10.4
AbstractValidatorClass.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 
24 {
28  protected ‪$supportedOptions = [
29  'requiredOption' => [0, 'Some value', 'integer', true],
30  'demoOption' => [PHP_INT_MAX, 'Some value', 'integer'],
31  ];
32 
39  protected function ‪isValid($value)
40  {
41  // dummy
42  }
43 }
‪TYPO3\CMS\Extbase\Validation\Validator\AbstractValidator
Definition: AbstractValidator.php:27
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractValidatorClass
Definition: AbstractValidatorClass.php:24
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractValidatorClass\isValid
‪isValid($value)
Definition: AbstractValidatorClass.php:38
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractValidatorClass\$supportedOptions
‪array $supportedOptions
Definition: AbstractValidatorClass.php:27
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture
Definition: AbstractCompositeValidatorClass.php:16