for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pgs\ElasticOM\Annotation\Visitor;
use Doctrine\Common\Annotations\AnnotationReader;
class AnnotationVisitorFactory
{
public static function getVisitor()
return new AnnotationVisitor(new AnnotationReader(), new ClassMetadataVisiteeFactory());
}
public static function getConfigVisitor()
return new AnnotationConfigVisitor(new AnnotationReader(), new ClassMetadataVisiteeFactory());