for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\Tests\Annotations\Annotation\Parser;
use Doctrine\Annotations\Parser\Scope;
final class ScopeMother
{
public static function example(): Scope
return (new ScopeBuilder())
->build();
}
public static function withSubject(\Reflector $reflector): Scope
->withSubject($reflector)
/**
* @param string[] $names
*/
public static function withIgnoredAnnotations(array $names): Scope
->withIgnoredAnnotations($names)
* @param array<string,string> $importsMap
public static function withImports(array $importsMap): Scope
->withImports($importsMap)
public static function withNestingLevel(int $level): Scope
->withNestingLevel($level)