private static function getDocumentedElement($fqsen)
    {
        $projectDescriptor = self::$descriptorBuilder->getProjectDescriptor();
        $elementList = $projectDescriptor->getIndexes()->get('elements');
        $prefixedLink = '~\\' . $fqsen;

        if (isset($elementList[$fqsen])) {
            return $elementList[$fqsen];
        } elseif (isset($elementList[$prefixedLink])) {
            return $elementList[$prefixedLink];
        }

        return false;
    }
private static function getDocumentedElement($fqsen)
    {
        $projectDescriptor = self::$descriptorBuilder->getProjectDescriptor();
        $elementList = $projectDescriptor->getIndexes()->get('elements');
        $prefixedLink = '~\\' . $fqsen;

        if (isset($elementList[$fqsen])) {
            return $elementList[$fqsen];
        } elseif (isset($elementList[$prefixedLink])) {
            return $elementList[$prefixedLink];
        }

        return false;
    }
private static function getDocumentedElement ( $ fqsen ) { $ projectDescriptor = self :: $ descriptorBuilder -> getProjectDescriptor ( ) ; $ elementList = $ projectDescriptor -> getIndexes ( ) -> get ( 'elements' ) ; $ prefixedLink = '~\\' . $ fqsen ; if ( isset ( $ elementList [ $ fqsen ] ) ) { return $ elementList [ $ fqsen ] ; } elseif ( isset ( $ elementList [ $ prefixedLink ] ) ) { return $ elementList [ $ prefixedLink ] ; } return false ; }
Returns a Descriptor Object if the given FQSEN exists in the project.

@param string $fqsen

@return bool|DescriptorAbstract
Returns a Descriptor Object if the given FQSEN exists in the project .