コード例 #1
0
 /**
  * Gets a property by its name.
  * 
  * @param string $name
  * @return PropertyInfo
  * @throws ReflectionException A reflection exception will be thrown, if the property does not exist.
  */
 public function getProperty($name)
 {
     $m = $this->getReflectionClass()->getProperty($name);
     return PropertyInfo::__internal_create($this, $m);
 }