public function get()
    {
        if ($this->owner->loaded()
            || isset($this->owner->data[$this->short_name])
        ) {
            return $this->owner->get($this->short_name);
        }

        return $this->defaultValue();
    }
public function get()
    {
        if ($this->owner->loaded()
            || isset($this->owner->data[$this->short_name])
        ) {
            return $this->owner->get($this->short_name);
        }

        return $this->defaultValue();
    }
public function get ( ) { if ( $ this -> owner -> loaded ( ) || isset ( $ this -> owner -> data [ $ this -> short_name ] ) ) { return $ this -> owner -> get ( $ this -> short_name ) ; } return $ this -> defaultValue ( ) ; }
Get the value of the field of a loaded model. If model is not loaded
will return default value instead.

@return mixed current value of a field
Get the value of the field of a loaded model . If model is not loaded will return default value instead .