From 120057b66ce42570de81b213e77fb6ed634aaa4d Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 2 Jan 2018 19:29:34 +0300 Subject: [PATCH] Fixes ACCOUNTS-322 --- api/aop/AspectKernel.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/aop/AspectKernel.php b/api/aop/AspectKernel.php index fc30542..bd03dc3 100644 --- a/api/aop/AspectKernel.php +++ b/api/aop/AspectKernel.php @@ -2,12 +2,15 @@ namespace api\aop; use api\aop\aspects; +use Doctrine\Common\Annotations\AnnotationReader; use Go\Core\AspectContainer; use Go\Core\AspectKernel as BaseAspectKernel; class AspectKernel extends BaseAspectKernel { protected function configureAop(AspectContainer $container): void { + AnnotationReader::addGlobalIgnoredName('url'); + $container->registerAspect(new aspects\MockDataAspect()); $container->registerAspect(new aspects\CollectMetricsAspect()); }