accounts/api/aop/AspectKernel.php

19 lines
495 B
PHP
Raw Normal View History

<?php
namespace api\aop;
use api\aop\aspects;
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());
}
}