Ejemplo n.º 1
0
 /**
  * Checks if the given property exists.
  *
  * First tries the envelope object's property storage, then its methods
  * and finally the inspected element reflection.
  *
  * @param mixed $name Property name
  * @return boolean
  */
 public function __isset($name)
 {
     $key = ucfirst($name);
     return isset(self::$reflectionMethods[$this->reflectionType]['get' . $key]) || isset(self::$reflectionMethods[$this->reflectionType]['is' . $key]) || $this->reflection->__isset($name);
 }