public function get($property)
    {
        if (!$this->exists($property)) {
            throw new UndefinedPropertyException($property);
        }

        return $this->data()->$property;
    }
public function get($property)
    {
        if (!$this->exists($property)) {
            throw new UndefinedPropertyException($property);
        }

        return $this->data()->$property;
    }
public function get ( $ property ) { if ( ! $ this -> exists ( $ property ) ) { throw new UndefinedPropertyException ( $ property ) ; } return $ this -> data ( ) -> $ property ; }
Get the value of the specified property.

@param string $property The property name.

@return mixed                      The value of the property.
@throws UndefinedPropertyException If the property does not exist.
Get the value of the specified property .