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