src/DefaultReader.php
public function readProperties($cls, $filter=null)
    {
        $cls = $this->createReflectionClass($cls);

        $rv = array();
        $props = $filter ? $cls->getProperties($filter) : $cls->getProperties();
        foreach ($props as $prop) {
            $rv[$prop->getName()] = $this->fromDocBlock($prop->getDocComment(), array(
                'class'     => $cls,
                'property'  => $prop,
            ));
        }

        return $rv;
    }
public function readProperties($cls, $filter=null)
    {
        $cls = $this->createReflectionClass($cls);

        $rv = array();
        $props = $filter ? $cls->getProperties($filter) : $cls->getProperties();
        foreach ($props as $prop) {
            $rv[$prop->getName()] = $this->fromDocBlock($prop->getDocComment(), array(
                'class'     => $cls,
                'property'  => $prop,
            ));
        }

        return $rv;
    }
{@inheritdoc}