final public function getMethod($method, $docType = '', $forceNew = false) {
        if (!in_array($method, $this->annotations['methods']))
            throw new \Exception('Method "' . $method . '" not found');
        $this->checkExists('methods', $docType, $forceNew);
        return $this->annotations['methods'][$method];
    }
final public function getMethod($method, $docType = '', $forceNew = false) {
        if (!in_array($method, $this->annotations['methods']))
            throw new \Exception('Method "' . $method . '" not found');
        $this->checkExists('methods', $docType, $forceNew);
        return $this->annotations['methods'][$method];
    }
final public function getMethod ( $ method , $ docType = '' , $ forceNew = false ) { if ( ! in_array ( $ method , $ this -> annotations [ 'methods' ] ) ) throw new \ Exception ( 'Method "' . $ method . '" not found' ) ; $ this -> checkExists ( 'methods' , $ docType , $ forceNew ) ; return $ this -> annotations [ 'methods' ] [ $ method ] ; }
Fetches annotations for a particular method
@param string $method
@param string $docType The type of documentation to fetch e.g. param, see, link
@param boolean $forceNew Indicates whether to fetch fresh annotations and not cached ones
@return array
@throws \Exception
Fetches annotations for a particular method