public function getProperties($filter = \ReflectionProperty::IS_PUBLIC)
    {
        $properties = array();
        $reflectionProperties = $this->reflectionEntity->getProperties($filter);
        foreach ($reflectionProperties as $property) {
            $properties[] = new Property($property->name, $property->isStatic());
        }

        return $properties;
    }
public function getProperties($filter = \ReflectionProperty::IS_PUBLIC)
    {
        $properties = array();
        $reflectionProperties = $this->reflectionEntity->getProperties($filter);
        foreach ($reflectionProperties as $property) {
            $properties[] = new Property($property->name, $property->isStatic());
        }

        return $properties;
    }
public function getProperties ( $ filter = \ ReflectionProperty :: IS_PUBLIC ) { $ properties = array ( ) ; $ reflectionProperties = $ this -> reflectionEntity -> getProperties ( $ filter ) ; foreach ( $ reflectionProperties as $ property ) { $ properties [ ] = new Property ( $ property -> name , $ property -> isStatic ( ) ) ; } return $ properties ; }
Gets the properties of the object provided.

@param int $filter

@return array
Gets the properties of the object provided .