protected function emitAdviceInvoked($aspectObject, string $methodName, JoinPointInterface $joinPoint): void
    {
        if ($this->dispatcher === null) {
            $this->dispatcher = $this->objectManager->get(Dispatcher::class);
        }

        $this->dispatcher->dispatch(self::class, 'adviceInvoked', [$aspectObject, $methodName, $joinPoint]);
    }