public function properties($filter = null)
    {
        if (is_null($filter))
        {
            $properties = $this->object->getProperties();
        }
        else
        {
            $properties = $this->object->getProperties($filter);
        }

        return array_map([$this, 'extractComment'], $properties);
    }
public function properties($filter = null)
    {
        if (is_null($filter))
        {
            $properties = $this->object->getProperties();
        }
        else
        {
            $properties = $this->object->getProperties($filter);
        }

        return array_map([$this, 'extractComment'], $properties);
    }
public function properties ( $ filter = null ) { if ( is_null ( $ filter ) ) { $ properties = $ this -> object -> getProperties ( ) ; } else { $ properties = $ this -> object -> getProperties ( $ filter ) ; } return array_map ( [ $ this , 'extractComment' ] , $ properties ) ; }
Get the comments for all properties.

@param integer|null $filter
@return array
Get the comments for all properties .