src/DataDefinition/Palette/Builder/PaletteBuilder.php
protected function dispatchEvent(BuilderEvent $event)
    {
        /** @var \Symfony\Component\EventDispatcher\EventDispatcher $dispatcher */
        $dispatcher = $GLOBALS['container']['event-dispatcher'];
        $dispatcher->dispatch($event::NAME, $event);
    }
protected function dispatchEvent(BuilderEvent $event)
    {
        /** @var \Symfony\Component\EventDispatcher\EventDispatcher $dispatcher */
        $dispatcher = $GLOBALS['container']['event-dispatcher'];
        $dispatcher->dispatch($event::NAME, $event);
    }
protected function dispatchEvent ( BuilderEvent $ event ) { /** @var \Symfony\Component\EventDispatcher\EventDispatcher $dispatcher */ $ dispatcher = $ GLOBALS [ 'container' ] [ 'event-dispatcher' ] ; $ dispatcher -> dispatch ( $ event :: NAME , $ event ) ; }
Dispatch an event over the global event dispatcher.

@param BuilderEvent $event The event to dispatch.

@return void

@internal

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)
Dispatch an event over the global event dispatcher .