public function getProperty($name)
    {
        $m = $this->getReflectionClass()->getProperty($name);
        return PropertyInfo::__internal_create($this, $m);
    }
public function getProperty($name)
    {
        $m = $this->getReflectionClass()->getProperty($name);
        return PropertyInfo::__internal_create($this, $m);
    }
public function getProperty ( $ name ) { $ m = $ this -> getReflectionClass ( ) -> getProperty ( $ name ) ; return PropertyInfo :: __internal_create ( $ this , $ m ) ; }
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.
Gets a property by its name .