accounts/api/aop/AspectKernel.php

18 lines
474 B
PHP
Raw Normal View History

<?php
namespace api\aop;
2018-01-02 21:59:34 +05:30
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 {
2018-01-02 21:59:34 +05:30
AnnotationReader::addGlobalIgnoredName('url');
$container->registerAspect(new aspects\MockDataAspect());
$container->registerAspect(new aspects\CollectMetricsAspect());
}
}