protected function findSingleCommentTagIndex(File $file, $commentStart, $tagName)
    {
        $indexes = $this->findCommentTagIndexes($file, $commentStart, $tagName);
        return count($indexes)
            ? array_shift($indexes)
            : false;
    }
protected function findSingleCommentTagIndex(File $file, $commentStart, $tagName)
    {
        $indexes = $this->findCommentTagIndexes($file, $commentStart, $tagName);
        return count($indexes)
            ? array_shift($indexes)
            : false;
    }
protected function findSingleCommentTagIndex ( File $ file , $ commentStart , $ tagName ) { $ indexes = $ this -> findCommentTagIndexes ( $ file , $ commentStart , $ tagName ) ; return count ( $ indexes ) ? array_shift ( $ indexes ) : false ; }
Gets the index of a PHPDoc tag.

@param File   $file
@param int    $commentStart
@param string $tagName

@return bool|int
Gets the index of a PHPDoc tag .