Last active
November 3, 2015 09:10
-
-
Save mikemadisonweb/418143f1f8121d037c62 to your computer and use it in GitHub Desktop.
SF2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get a ConstraintViolationList | |
$errors = $this->get('validator')->validate( $user ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $_GET parameters | |
$request->query->get('name'); | |
// $_POST parameters | |
$request->request->get('name'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment