public function get($key = null, $default = null)
    {
        if (!isset($this->_object) && $key == $this->_property) {
            return $this->_value;
        }

        return $this->getObject()->get($key, $default);
    }
public function get($key = null, $default = null)
    {
        if (!isset($this->_object) && $key == $this->_property) {
            return $this->_value;
        }

        return $this->getObject()->get($key, $default);
    }
public function get ( $ key = null , $ default = null ) { if ( ! isset ( $ this -> _object ) && $ key == $ this -> _property ) { return $ this -> _value ; } return $ this -> getObject ( ) -> get ( $ key , $ default ) ; }
Get a property value directly from the entity.

@return mixed
Get a property value directly from the entity .