Go\Instrument\Transformer\WeavingTransformer::__construct PHP Method

__construct() public method

Constructs a weaving transformer
public __construct ( AspectKernel $kernel, AdviceMatcher $adviceMatcher, CachePathManager $cachePathManager, AspectLoader $loader )
$kernel Go\Core\AspectKernel Instance of aspect kernel
$adviceMatcher Go\Core\AdviceMatcher Advice matcher for class
$cachePathManager Go\Instrument\ClassLoading\CachePathManager Cache manager
$loader Go\Core\AspectLoader Loader for aspects
    public function __construct(AspectKernel $kernel, AdviceMatcher $adviceMatcher, CachePathManager $cachePathManager, AspectLoader $loader)
    {
        parent::__construct($kernel);
        $this->adviceMatcher = $adviceMatcher;
        $this->cachePathManager = $cachePathManager;
        $this->aspectLoader = $loader;
    }