mirror of
https://github.com/elyby/accounts.git
synced 2024-12-28 16:10:40 +05:30
Fixes ACCOUNTS-322
This commit is contained in:
parent
fc05257535
commit
120057b66c
@ -2,12 +2,15 @@
|
|||||||
namespace api\aop;
|
namespace api\aop;
|
||||||
|
|
||||||
use api\aop\aspects;
|
use api\aop\aspects;
|
||||||
|
use Doctrine\Common\Annotations\AnnotationReader;
|
||||||
use Go\Core\AspectContainer;
|
use Go\Core\AspectContainer;
|
||||||
use Go\Core\AspectKernel as BaseAspectKernel;
|
use Go\Core\AspectKernel as BaseAspectKernel;
|
||||||
|
|
||||||
class AspectKernel extends BaseAspectKernel {
|
class AspectKernel extends BaseAspectKernel {
|
||||||
|
|
||||||
protected function configureAop(AspectContainer $container): void {
|
protected function configureAop(AspectContainer $container): void {
|
||||||
|
AnnotationReader::addGlobalIgnoredName('url');
|
||||||
|
|
||||||
$container->registerAspect(new aspects\MockDataAspect());
|
$container->registerAspect(new aspects\MockDataAspect());
|
||||||
$container->registerAspect(new aspects\CollectMetricsAspect());
|
$container->registerAspect(new aspects\CollectMetricsAspect());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user