ApiGen\Generator\Resolvers\ElementResolver::isContextUsable PHP Метод

isContextUsable() приватный метод

private isContextUsable ( null | ApiGen\Reflection\ReflectionElement $reflectionElement ) : boolean
$reflectionElement null | ApiGen\Reflection\ReflectionElement
Результат boolean
    private function isContextUsable($reflectionElement)
    {
        if ($reflectionElement === null || $reflectionElement instanceof ConstantReflectionInterface || $reflectionElement instanceof FunctionReflectionInterface) {
            return false;
        }
        return true;
    }