protected function getAddressFieldValue($field)
    {
        if ($field instanceof \Closure) {
            return call_user_func($field, $this);
        }

        if (is_array($field)) {
            return $this->getRelationalField($field);
        }

        return $this->{$field};
    }
protected function getAddressFieldValue($field)
    {
        if ($field instanceof \Closure) {
            return call_user_func($field, $this);
        }

        if (is_array($field)) {
            return $this->getRelationalField($field);
        }

        return $this->{$field};
    }
protected function getAddressFieldValue ( $ field ) { if ( $ field instanceof \ Closure ) { return call_user_func ( $ field , $ this ) ; } if ( is_array ( $ field ) ) { return $ this -> getRelationalField ( $ field ) ; } return $ this -> { $ field } ; }
Get address field value

@param $field
@return mixed
Get address field value