Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit 6a71dfe

Browse files
authoredJul 20, 2021
[TASK] Update images for TYPO3 11.4-dev (#467)
refs TYPO3-Documentation/t3docs-screenshots#188 Co-authored-by: lina.wolf <[email protected]>
1 parent e22cd6c commit 6a71dfe

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed
 

‎Documentation/CodeSnippets/StyleguideCode/ValidatorInterface.rst.txt

+18-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,23 @@
33
.. code-block:: php
44
:caption: \TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface
55
6+
<?php
7+
8+
/*
9+
* This file is part of the TYPO3 CMS project.
10+
*
11+
* It is free software; you can redistribute it and/or modify it under
12+
* the terms of the GNU General Public License, either version 2
13+
* of the License, or any later version.
14+
*
15+
* For the full copyright and license information, please read the
16+
* LICENSE.txt file that was distributed with this source code.
17+
*
18+
* The TYPO3 project - inspiring people to share!
19+
*/
20+
621
namespace TYPO3\CMS\Extbase\Validation\Validator;
7-
22+
823
/**
924
* Contract for a validator
1025
*/
@@ -18,11 +33,12 @@
1833
* @return \TYPO3\CMS\Extbase\Error\Result
1934
*/
2035
public function validate($value);
21-
36+
2237
/**
2338
* Returns the options of this validator which can be specified in the constructor
2439
*
2540
* @return array
2641
*/
2742
public function getOptions();
2843
}
44+

0 commit comments

Comments
 (0)
This repository has been archived.