public function getProperties()
    {
        //todo cache
        $result = array();
        foreach ($this->getReflectionClass()->getProperties() as $m)
        {
            $result[] = PropertyInfo::__internal_create($this, $m);
        }
        return $result;
    }
public function getProperties()
    {
        //todo cache
        $result = array();
        foreach ($this->getReflectionClass()->getProperties() as $m)
        {
            $result[] = PropertyInfo::__internal_create($this, $m);
        }
        return $result;
    }
public function getProperties ( ) { //todo cache $ result = array ( ) ; foreach ( $ this -> getReflectionClass ( ) -> getProperties ( ) as $ m ) { $ result [ ] = PropertyInfo :: __internal_create ( $ this , $ m ) ; } return $ result ; }
Gets a list of all defined properties.

@return PropertyInfo[]
Gets a list of all defined properties .