Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fec11ae

Browse filesBrowse files
author
Andreas Hucks
committed
updated docblocks for ValidatorBuilderInterface
1 parent b5aaf53 commit fec11ae
Copy full SHA for fec11ae

File tree

Expand file treeCollapse file tree

1 file changed

+26
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+26
-0
lines changed

‎src/Symfony/Component/Validator/ValidatorBuilderInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/ValidatorBuilderInterface.php
+26Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,88 +26,114 @@ interface ValidatorBuilderInterface
2626
* Adds an object initializer to the validator.
2727
*
2828
* @param ObjectInitializerInterface $initializer The initializer.
29+
*
30+
* @return ValidatorBuilderInterface The builder object.
2931
*/
3032
public function addObjectInitializer(ObjectInitializerInterface $initializer);
3133

3234
/**
3335
* Adds a list of object initializers to the validator.
3436
*
3537
* @param array $initializers The initializer.
38+
*
39+
* @return ValidatorBuilderInterface The builder object.
3640
*/
3741
public function addObjectInitializers(array $initializers);
3842

3943
/**
4044
* Adds an XML constraint mapping file to the validator.
4145
*
4246
* @param string $path The path to the mapping file.
47+
*
48+
* @return ValidatorBuilderInterface The builder object.
4349
*/
4450
public function addXmlMapping($path);
4551

4652
/**
4753
* Adds a list of XML constraint mapping files to the validator.
4854
*
4955
* @param array $paths The paths to the mapping files.
56+
*
57+
* @return ValidatorBuilderInterface The builder object.
5058
*/
5159
public function addXmlMappings(array $paths);
5260

5361
/**
5462
* Adds a YAML constraint mapping file to the validator.
5563
*
5664
* @param string $path The path to the mapping file.
65+
*
66+
* @return ValidatorBuilderInterface The builder object.
5767
*/
5868
public function addYamlMapping($path);
5969

6070
/**
6171
* Adds a list of YAML constraint mappings file to the validator.
6272
*
6373
* @param array $paths The paths to the mapping files.
74+
*
75+
* @return ValidatorBuilderInterface The builder object.
6476
*/
6577
public function addYamlMappings(array $paths);
6678

6779
/**
6880
* Enables constraint mapping using the given static method.
6981
*
7082
* @param string $methodName The name of the method.
83+
*
84+
* @return ValidatorBuilderInterface The builder object.
7185
*/
7286
public function addMethodMapping($methodName);
7387

7488
/**
7589
* Enables constraint mapping using the given static methods.
7690
*
7791
* @param array $methodNames The names of the methods.
92+
*
93+
* @return ValidatorBuilderInterface The builder object.
7894
*/
7995
public function addMethodMappings(array $methodNames);
8096

8197
/**
8298
* Enables annotation based constraint mapping.
8399
*
84100
* @param Reader $annotationReader The annotation reader to be used.
101+
*
102+
* @return ValidatorBuilderInterface The builder object.
85103
*/
86104
public function enableAnnotationMapping(Reader $annotationReader = null);
87105

88106
/**
89107
* Disables annotation based constraint mapping.
108+
*
109+
* @return ValidatorBuilderInterface The builder object.
90110
*/
91111
public function disableAnnotationMapping();
92112

93113
/**
94114
* Sets the class metadata factory used by the validator.
95115
*
96116
* @param ClassMetadataFactoryInterface $metadataFactory The metadata factory.
117+
*
118+
* @return ValidatorBuilderInterface The builder object.
97119
*/
98120
public function setMetadataFactory(ClassMetadataFactoryInterface $metadataFactory);
99121

100122
/**
101123
* Sets the cache for caching class metadata.
102124
*
103125
* @param CacheInterface $cache The cache instance.
126+
*
127+
* @return ValidatorBuilderInterface The builder object.
104128
*/
105129
public function setMetadataCache(CacheInterface $cache);
106130

107131
/**
108132
* Sets the constraint validator factory used by the validator.
109133
*
110134
* @param ConstraintValidatorFactoryInterface $validatorFactory The validator factory.
135+
*
136+
* @return ValidatorBuilderInterface The builder object.
111137
*/
112138
public function setConstraintValidatorFactory(ConstraintValidatorFactoryInterface $validatorFactory);
113139

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.