Created
July 23, 2014 04:38
-
-
Save laracasts/95b2a46a89f7e9f357bb to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
// ... | |
public function store(RegistrationForm $form) | |
{ | |
$form->validate(); // throws exception if fails | |
// save stuff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment