protected function parsePhpComment($value, $line)
    {
        if ($this->extractComments === false) {
            return null;
        }

        //this returns a comment or null
        $comment = ParsedComment::create($value, $line);

        $prefixes = array_filter((array) $this->extractComments);

        if ($comment && $comment->checkPrefixes($prefixes)) {
            return $comment;
        }

        return null;
    }
protected function parsePhpComment($value, $line)
    {
        if ($this->extractComments === false) {
            return null;
        }

        //this returns a comment or null
        $comment = ParsedComment::create($value, $line);

        $prefixes = array_filter((array) $this->extractComments);

        if ($comment && $comment->checkPrefixes($prefixes)) {
            return $comment;
        }

        return null;
    }
protected function parsePhpComment ( $ value , $ line ) { if ( $ this -> extractComments === false ) { return null ; } //this returns a comment or null $ comment = ParsedComment :: create ( $ value , $ line ) ; $ prefixes = array_filter ( ( array ) $ this -> extractComments ) ; if ( $ comment && $ comment -> checkPrefixes ( $ prefixes ) ) { return $ comment ; } return null ; }
Extract the actual text from a PHP comment.

If set, only returns comments that match the prefix(es).

@param string $value The PHP comment.
@param int $line Line number.

@return null|ParsedComment Comment or null if comment extraction is disabled or if there is a prefix mismatch.
Extract the actual text from a PHP comment .