original_string: protected function getAttributeFrom()
      {
          $attribute = array_get($this->formFieldData->options(), 'from', $this->formFieldData->source());
  
          if ( ! $attribute) {
              throw new UnexpectedValueException("DateRangeStrategy must have 'date_from' option set");
          }
  
          return $attribute;
      }
code: protected function getAttributeFrom()
      {
          $attribute = array_get($this->formFieldData->options(), 'from', $this->formFieldData->source());
  
          if ( ! $attribute) {
              throw new UnexpectedValueException("DateRangeStrategy must have 'date_from' option set");
          }
  
          return $attribute;
      }
code_tokens: protected function getAttributeFrom ( ) { $ attribute = array_get ( $ this -> formFieldData -> options ( ) , 'from' , $ this -> formFieldData -> source ( ) ) ; if ( ! $ attribute ) { throw new UnexpectedValueException ( "DateRangeStrategy must have 'date_from' option set" ) ; } return $ attribute ; }
docstring: Returns attribute name for the 'from' date.
  
  @return string
docstring_tokens: Returns attribute name for the from date .