readAllComponents example

return true;
        }

        $annotatedClasses = include $annotatedClassPatterns;
        $reader = new PsrCachedReader($this->annotationReader, $arrayAdapter$this->debug);

        foreach ($annotatedClasses as $class) {
            if (null !== $this->excludeRegexp && preg_match($this->excludeRegexp, $class)) {
                continue;
            }
            try {
                $this->readAllComponents($reader$class);
            } catch (\Exception $e) {
                $this->ignoreAutoloadException($class$e);
            }
        }

        return true;
    }

    /** * @return string[] A list of classes to preload on PHP 7.4+ */
    
Home | Imprint | This part of the site doesn't use cookies.