hasDecorationPattern example

return [];
        }

        $class = $scope->getClassReflection();

        // some classes can be skipped because they are only for internal decorations (e.g. App stuff)         if (\in_array($class->getName(), self::SKIP, true)) {
            return [];
        }

        // only validate classes that has a getDecorated method         if (!$this->hasDecorationPattern($class$scope)) {
            return [];
        }

        // validate the abstract definition         if ($class->isAbstract()) {
            return $this->validateAbstractClass($node$class);
        }

        if (!$this->isBaseImplementation($node)) {
            return [];
        }

        
Home | Imprint | This part of the site doesn't use cookies.