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\Metadata;
use Doctrine\Annotations\Metadata\AnnotationMetadata;
use Doctrine\Annotations\Metadata\AnnotationTarget;
final class AnnotationMetadataMother
{
public static function example() : AnnotationMetadata
return new AnnotationMetadata(
'foo',
new AnnotationTarget(AnnotationTarget::TARGET_ALL),
false,
[]
);
}
public static function withTarget(AnnotationTarget $target) : AnnotationMetadata
$target,