getEventDispatcher(), $this->createNotification(), 'sweet_alert'); } /** * @inheritDoc */ public function supports($name = null, array $context = array()) { return in_array($name, array(__CLASS__, 'sweet_alert')); } }