vendor/symfony/mercure/src/PublisherInterface.php line 16

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Mercure Component project.
  4.  *
  5.  * (c) Kévin Dunglas <dunglas@gmail.com>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. declare(strict_types=1);
  11. namespace Symfony\Component\Mercure;
  12. trigger_deprecation('symfony/mercure''0.5''Interface "%s" is deprecated, use "%s" instead.'PublisherInterface::class, HubInterface::class);
  13. /**
  14.  * @author Vincent Chalamon <vincentchalamon@gmail.com>
  15.  *
  16.  * @deprecated
  17.  */
  18. interface PublisherInterface
  19. {
  20.     public function __invoke(Update $update): string;
  21. }