Neos\Flow\SignalSlot\SignalAspect::forwardSignalToDispatcher PHP Метод

forwardSignalToDispatcher() публичный Метод

Passes the signal over to the Dispatcher
public forwardSignalToDispatcher ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point
Результат void
    public function forwardSignalToDispatcher(JoinPointInterface $joinPoint)
    {
        $signalName = lcfirst(str_replace('emit', '', $joinPoint->getMethodName()));
        $this->dispatcher->dispatch($joinPoint->getClassName(), $signalName, $joinPoint->getMethodArguments());
    }