/opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Metadata/Parser
NameSizeModeActions
Annotation/-0755rm
AnnotationParser.php193220644editdlrm
AttributeParser.php249720644editdlrm
CachingParser.php25230644editdlrm
Parser.php10980644editdlrm
ParserChain.php22280644editdlrm
Registry.php10490644editdlrm
Edit: /opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Metadata/Parser/Registry.php (1049B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Metadata\Parser; /** * Attribute and annotation information is static within a single PHP process. * It is therefore okay to use a Singleton registry here. * * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit * * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class Registry { private static ?Parser $instance = null; public static function parser(): Parser { return self::$instance ?? self::$instance = self::build(); } private static function build(): Parser { return new CachingParser( new ParserChain( new AttributeParser, new AnnotationParser, ), ); } }