original_string: public function store($request)
      {
          $this->fireEvent('creating', [$request]);
  
          $created = $this->model->create($request);
  
          $this->fireEvent('created', [$created]);
  
          return $created;
      }
code: public function store($request)
      {
          $this->fireEvent('creating', [$request]);
  
          $created = $this->model->create($request);
  
          $this->fireEvent('created', [$created]);
  
          return $created;
      }
code_tokens: public function store ( $ request ) { $ this -> fireEvent ( 'creating' , [ $ request ] ) ; $ created = $ this -> model -> create ( $ request ) ; $ this -> fireEvent ( 'created' , [ $ created ] ) ; return $ created ; }
docstring: Store a new resource.
  
  @param  mixed  $request
  @return mixed
docstring_tokens: Store a new resource .