‪TYPO3CMS  9.5
AbstractCompositeValidatorClass.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
21 {
25  protected ‪$supportedOptions = [
26  'requiredOption' => [0, 'Some value', 'integer', true],
27  'demoOption' => [PHP_INT_MAX, 'Some value', 'integer'],
28  ];
29 
36  protected function ‪isValid($value)
37  {
38  // dummy
39  }
40 
49  public function ‪validate($value)
50  {
51  return new \TYPO3\CMS\Extbase\Error\Result();
52  }
53 }
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractCompositeValidatorClass\isValid
‪isValid($value)
Definition: AbstractCompositeValidatorClass.php:35
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractCompositeValidatorClass\$supportedOptions
‪array $supportedOptions
Definition: AbstractCompositeValidatorClass.php:24
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractCompositeValidatorClass
Definition: AbstractCompositeValidatorClass.php:21
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractCompositeValidatorClass\validate
‪TYPO3 CMS Extbase Error Result validate($value)
Definition: AbstractCompositeValidatorClass.php:48
‪TYPO3\CMS\Extbase\Validation\Validator\AbstractCompositeValidator
Definition: AbstractCompositeValidator.php:21
‪TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture
Definition: AbstractCompositeValidatorClass.php:2