ApiGen\Templating\Filters\SourceFilters::isDirectUrl PHP Méthode

isDirectUrl() private méthode

private isDirectUrl ( ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $element ) : boolean
$element ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface
Résultat boolean
    private function isDirectUrl(ElementReflectionInterface $element)
    {
        if ($element instanceof ClassReflectionInterface || $element instanceof FunctionReflectionInterface || $element instanceof ConstantReflectionInterface) {
            return true;
        }
        return false;
    }