Created
December 11, 2019 18:59
-
-
Save ivastly/cd63510ef06d4e550252c2b35c88ccef to your computer and use it in GitHub Desktop.
initialize AOP
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 | |
use Ivastly\GoAopHelloWorld\Aop\ApplicationAspectKernel; | |
require_once 'vendor/autoload.php'; | |
$applicationAspectKernel = ApplicationAspectKernel::getInstance(); | |
$applicationAspectKernel->init( | |
[ | |
'appDir' => __DIR__ . '/..', | |
'cacheDir' => __DIR__ . '/cache', | |
'includePaths' => [ | |
__DIR__ . '/src', | |
], | |
] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment