9 namespace OpenEMR\Core
;
11 require_once("../../interface/globals.php");
13 use Symfony\Component\DependencyInjection\Container
;
14 use Symfony\Component\EventDispatcher\EventDispatcher
;
22 /** @var EventDispatcher */
23 public $eventDispatcher;
25 public function __construct()
27 $kernel = $GLOBALS['kernel'];
28 /** @var Container $container */
29 $container = $kernel->getContainer();
30 $this->container
= $container;
31 $this->eventDispatcher
= $container->get('event_dispatcher');