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