$property; } throw new PropertyNotFoundException($property, get_class($this)); } /** * Magic isset function handling isset() to non public properties * * Returns true for all (public/)protected/private properties. * * @ignore This method is for internal use * @access private * * @param string $property Name of the property * * @return boolean */ public function __isset($property) { return property_exists($this, $property); } }