original_string: protected function stateAttributes($state, array $attributes)
      {
          $stateAttributes = $this->states[$this->class][$state];
  
          if (! is_callable($stateAttributes)) {
              return $stateAttributes;
          }
  
          return call_user_func(
              $stateAttributes,
              $this->faker, $attributes
          );
      }
code: protected function stateAttributes($state, array $attributes)
      {
          $stateAttributes = $this->states[$this->class][$state];
  
          if (! is_callable($stateAttributes)) {
              return $stateAttributes;
          }
  
          return call_user_func(
              $stateAttributes,
              $this->faker, $attributes
          );
      }
code_tokens: protected function stateAttributes ( $ state , array $ attributes ) { $ stateAttributes = $ this -> states [ $ this -> class ] [ $ state ] ; if ( ! is_callable ( $ stateAttributes ) ) { return $ stateAttributes ; } return call_user_func ( $ stateAttributes , $ this -> faker , $ attributes ) ; }
docstring: Get the state attributes.
  
  @param  string  $state
  @param  array  $attributes
  @return array
docstring_tokens: Get the state attributes .