CoreFiles by mySites.guru
PingWebhookMessage.php31 lines, 715 bytes, from Joomla_5.1.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.0.0-beta3
md5
06df8558228f4d6efd9a89882f051074
sha1
29a5c0d9905dd48e714213ec4847813808eb0510
sha256
4621813ec86b3b900b4be4a16e1e3cfad2c59fd0793067ba7835bc50f4d59d35
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpClient\Messenger;

/**
 * @author Kevin Bond <[email protected]>
 */
final class PingWebhookMessage implements \Stringable
{
    public function __construct(
        public readonly string $method,
        public readonly string $url,
        public readonly array $options = [],
        public readonly bool $throw = true,
    ) {
    }

    public function __toString(): string
    {
        return "[{$this->method}] {$this->url}";
    }
}

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.