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;
    }
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;
    }
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 ; }
Returns attribute name for the 'from' date.

@return string
Returns attribute name for the from date .