original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Get the comments for all properties.
  
  @param integer|null $filter
  @return array
docstring_tokens: Get the comments for all properties .