Skip to content

Instantly share code, notes, and snippets.

@laracasts laracasts/ex.php
Created Jul 23, 2014

Embed
What would you like to do?
<?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
You can’t perform that action at this time.