Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
87967798
Commit
87967798
authored
Apr 26, 2013
by
Dave Marshall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add alias method to conform with ConstraintValidatorInterface in 2.3
parent
8bf675f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tests/Silex/Tests/Provider/ValidatorServiceProviderTest/Constraint/CustomValidator.php
...lidatorServiceProviderTest/Constraint/CustomValidator.php
+5
-0
No files found.
tests/Silex/Tests/Provider/ValidatorServiceProviderTest/Constraint/CustomValidator.php
View file @
87967798
...
...
@@ -24,4 +24,9 @@ class CustomValidator extends ConstraintValidator
// Validate...
return
true
;
}
public
function
validate
(
$value
,
Constraint
$constraint
)
{
return
$this
->
isValid
(
$value
,
$constraint
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment