public function documentMethod(\ReflectionClass $rClass, \ReflectionMethod $rMethod, array &$methodDoc) {
    parent::documentMethod($rClass, $rMethod, $methodDoc);

    if (!$this->doesHaveAccessToMethod($rMethod->name)) {
      $methodDoc = NULL;
      return;
    }

    if (!empty($this->next)) {
      $this->next->documentMethod($rClass, $rMethod, $methodDoc);
    }
  }
public function documentMethod(\ReflectionClass $rClass, \ReflectionMethod $rMethod, array &$methodDoc) {
    parent::documentMethod($rClass, $rMethod, $methodDoc);

    if (!$this->doesHaveAccessToMethod($rMethod->name)) {
      $methodDoc = NULL;
      return;
    }

    if (!empty($this->next)) {
      $this->next->documentMethod($rClass, $rMethod, $methodDoc);
    }
  }
public function documentMethod ( \ ReflectionClass $ rClass , \ ReflectionMethod $ rMethod , array & $ methodDoc ) { parent :: documentMethod ( $ rClass , $ rMethod , $ methodDoc ) ; if ( ! $ this -> doesHaveAccessToMethod ( $ rMethod -> name ) ) { $ methodDoc = NULL ; return ; } if ( ! empty ( $ this -> next ) ) { $ this -> next -> documentMethod ( $ rClass , $ rMethod , $ methodDoc ) ; } }
Removes the documentation for methods that the api does not have access to

@param \ReflectionClass $rClass
@param \ReflectionMethod $rMethod
@param array $methodDoc
Removes the documentation for methods that the api does not have access to