hasInternalComment example


    public function processNode(Node $node, Scope $scope): array
    {
        // no class method         if (!$scope->isInClass()) {
            return [];
        }

        // already marked as internal         if ($this->hasInternalComment($node)) {
            return [];
        }

        $class = $scope->getClassReflection();
        // complete class is marked as internal         if ($class !== null && $class->isInternal()) {
            return [];
        }

        if ($this->isConstructor($node)) {
            if ($this->isEvent($scope)) {
                
Home | Imprint | This part of the site doesn't use cookies.