- Fix: Notifiable-Trait zum User-Model hinzugefuegt (behebt notify()-500er) - Installer: SMTP-Verbindungstest mit EsmtpTransport + Ueberspringen-Link - Admin: Neuer E-Mail-Tab mit SMTP-Konfiguration + Verbindungstest - Admin: Lazy Quill-Initialisierung (nur sichtbare Locale wird geladen) - Uebersetzungen: 17 neue Mail-Keys in allen 6 Sprachen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
1.0 KiB
PHP
Executable File
34 lines
1.0 KiB
PHP
Executable File
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Symfony\Contracts\EventDispatcher;
|
|
|
|
use Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface;
|
|
|
|
/**
|
|
* Allows providing hooks on domain-specific lifecycles by dispatching events.
|
|
*/
|
|
interface EventDispatcherInterface extends PsrEventDispatcherInterface
|
|
{
|
|
/**
|
|
* Dispatches an event to all registered listeners.
|
|
*
|
|
* @template T of object
|
|
*
|
|
* @param T $event The event to pass to the event handlers/listeners
|
|
* @param string|null $eventName The name of the event to dispatch. If not supplied,
|
|
* the class of $event should be used instead.
|
|
*
|
|
* @return T The passed $event MUST be returned
|
|
*/
|
|
public function dispatch(object $event, ?string $eventName = null): object;
|
|
}
|