Skip to content

Instantly share code, notes, and snippets.

@ivastly
Last active December 11, 2019 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivastly/86145144d06e2ebcfbefd94232f5985b to your computer and use it in GitHub Desktop.
Save ivastly/86145144d06e2ebcfbefd94232f5985b to your computer and use it in GitHub Desktop.
ApplicationAspectKernel example
<?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