create() public static method

When creating a contact, run the attributes through a validator first.
public static create ( array $attributes = [] ) : void
$attributes array
return void
 /**
  * Store a newly created contact in storage.
  *
  * @return Response
  */
 public function store()
 {
     $input = Input::all();
     try {
         ContactCategory::create($input);
         return Redirect::to("backend/contact-categories")->with('success_message', trans('success_messages.contact_cat_create'));
     } catch (ValidationException $e) {
         return Redirect::back()->withInput()->withErrors($e->getErrors());
     }
 }