protected function addKernelResourcesToContainer(AspectContainer $container): void
    {
        $trace    = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 2);
        $refClass = new ReflectionObject($this);

        $container->addResource($trace[1]['file']);
        $container->addResource($refClass->getFileName());
    }
protected function addKernelResourcesToContainer(AspectContainer $container): void
    {
        $trace    = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 2);
        $refClass = new ReflectionObject($this);

        $container->addResource($trace[1]['file']);
        $container->addResource($refClass->getFileName());
    }
protected function addKernelResourcesToContainer ( AspectContainer $ container ) : void { $ trace = debug_backtrace ( DEBUG_BACKTRACE_IGNORE_ARGS , 2 ) ; $ refClass = new ReflectionObject ( $ this ) ; $ container -> addResource ( $ trace [ 1 ] [ 'file' ] ) ; $ container -> addResource ( $ refClass -> getFileName ( ) ) ; }
Add resources of kernel to the container
Add resources of kernel to the container