original_string: protected function getRawAttributes(array $attributes = [])
      {
          if (! isset($this->definitions[$this->class][$this->name])) {
              throw new InvalidArgumentException("Unable to locate factory with name [{$this->name}] [{$this->class}].");
          }
  
          $definition = call_user_func(
              $this->definitions[$this->class][$this->name],
              $this->faker, $attributes
          );
  
          return $this->expandAttributes(
              array_merge($this->applyStates($definition, $attributes), $attributes)
          );
      }
code: protected function getRawAttributes(array $attributes = [])
      {
          if (! isset($this->definitions[$this->class][$this->name])) {
              throw new InvalidArgumentException("Unable to locate factory with name [{$this->name}] [{$this->class}].");
          }
  
          $definition = call_user_func(
              $this->definitions[$this->class][$this->name],
              $this->faker, $attributes
          );
  
          return $this->expandAttributes(
              array_merge($this->applyStates($definition, $attributes), $attributes)
          );
      }
code_tokens: protected function getRawAttributes ( array $ attributes = [ ] ) { if ( ! isset ( $ this -> definitions [ $ this -> class ] [ $ this -> name ] ) ) { throw new InvalidArgumentException ( "Unable to locate factory with name [{$this->name}] [{$this->class}]." ) ; } $ definition = call_user_func ( $ this -> definitions [ $ this -> class ] [ $ this -> name ] , $ this -> faker , $ attributes ) ; return $ this -> expandAttributes ( array_merge ( $ this -> applyStates ( $ definition , $ attributes ) , $ attributes ) ) ; }
docstring: Get a raw attributes array for the model.
  
  @param  array  $attributes
  @return mixed
  
  @throws \InvalidArgumentException
docstring_tokens: Get a raw attributes array for the model .