public function registerLoaderExtension(AspectLoaderExtension $loader): void
    {
        $targets = $loader->getTargets();
        foreach ($targets as $target) {
            $this->loaders[$target][] = $loader;
        }
    }
public function registerLoaderExtension(AspectLoaderExtension $loader): void
    {
        $targets = $loader->getTargets();
        foreach ($targets as $target) {
            $this->loaders[$target][] = $loader;
        }
    }
public function registerLoaderExtension ( AspectLoaderExtension $ loader ) : void { $ targets = $ loader -> getTargets ( ) ; foreach ( $ targets as $ target ) { $ this -> loaders [ $ target ] [ ] = $ loader ; } }
Register an aspect loader extension

This method allows to extend the logic of aspect loading by registering an extension for loader.
Register an aspect loader extension