Last active
December 11, 2019 18:56
-
-
Save ivastly/86145144d06e2ebcfbefd94232f5985b to your computer and use it in GitHub Desktop.
ApplicationAspectKernel example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Ivastly\GoAopHelloWorld\Aop; | |
use Go\Core\AspectContainer; | |
use Go\Core\AspectKernel; | |
class ApplicationAspectKernel extends AspectKernel | |
{ | |
protected function configureAop(AspectContainer $container) | |
{ | |
$container->registerAspect(new BankingAspect()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment