mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			474 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			474 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
namespace api\aop;
 | 
						|
 | 
						|
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());
 | 
						|
    }
 | 
						|
 | 
						|
}
 |