public function create(ContactRequest $request)
    {

        $contact = $this->repository->newInstance([]);
        return $this->response->setMetaTitle(trans('app.new') . ' ' . trans('contact::contact.name')) 
            ->view('contact::contact.create', true) 
            ->data(compact('contact'))
            ->output();
    }
public function create(ContactRequest $request)
    {

        $contact = $this->repository->newInstance([]);
        return $this->response->setMetaTitle(trans('app.new') . ' ' . trans('contact::contact.name')) 
            ->view('contact::contact.create', true) 
            ->data(compact('contact'))
            ->output();
    }
public function create ( ContactRequest $ request ) { $ contact = $ this -> repository -> newInstance ( [ ] ) ; return $ this -> response -> setMetaTitle ( trans ( 'app.new' ) . ' ' . trans ( 'contact::contact.name' ) ) -> view ( 'contact::contact.create' , true ) -> data ( compact ( 'contact' ) ) -> output ( ) ; }
Show the form for creating a new contact.

@param Request $request

@return Response
Show the form for creating a new contact .