CoreFiles by mySites.guru
EventDispatcherInterface.php21 lines, 463 bytes, from wordpress-7.2-beta5.zip
Raw History Compare with 7.2-beta4
md5
d889c54c4f799126621db29604df47ff
sha1
760b1ad4f99e1029b0027f1ccd32c5b6c42dfcca
sha256
e8ae3b10ec1aa7fc61e7ee051827f5d6b9067873fe903554c9d25b0b7dbe4ae0
<?php

declare (strict_types=1);
namespace WordPress\AiClientDependencies\Psr\EventDispatcher;

/**
 * Defines a dispatcher for events.
 */
interface EventDispatcherInterface
{
    /**
     * Provide all relevant listeners with an event to process.
     *
     * @param object $event
     *   The object to process.
     *
     * @return object
     *   The Event that was passed, now modified by listeners.
     */
    public function dispatch(object $event);
}

The same content is in 44 releases, WordPress 7.0-beta1 to 7.2-RC2. See them all, or every version of this file.