Debian Codegraph @

lib/3rdParty/composer/symfony/http-client/Messenger/PingWebhookMessage.php

raw symbols SCIP
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <[email protected]>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Component\HttpClient\Messenger;
13
14 /**
15 * @author Kevin Bond <[email protected]>
16 */
17 final class PingWebhookMessage implements \Stringable
18 {
19 public function __construct(
20 public readonly string $method,
21 public readonly string $url,
22 public readonly array $options = [],
23 public readonly bool $throw = true,
24 ) {
25 }
26
27 public function __toString(): string
28 {
29 return "[{$this->method}] {$this->url}";
30 }
31 }