update
This commit is contained in:
79
projects/priceservice/vendor/symfony/messenger/Stamp/RouterContextStamp.php
vendored
Normal file
79
projects/priceservice/vendor/symfony/messenger/Stamp/RouterContextStamp.php
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
<?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\Component\Messenger\Stamp;
|
||||
|
||||
/**
|
||||
* @author Jérémy Derussé <jeremy@derusse.com>
|
||||
*/
|
||||
class RouterContextStamp implements StampInterface
|
||||
{
|
||||
private string $baseUrl;
|
||||
private string $method;
|
||||
private string $host;
|
||||
private string $scheme;
|
||||
private int $httpPort;
|
||||
private int $httpsPort;
|
||||
private string $pathInfo;
|
||||
private string $queryString;
|
||||
|
||||
public function __construct(string $baseUrl, string $method, string $host, string $scheme, int $httpPort, int $httpsPort, string $pathInfo, string $queryString)
|
||||
{
|
||||
$this->baseUrl = $baseUrl;
|
||||
$this->method = $method;
|
||||
$this->host = $host;
|
||||
$this->scheme = $scheme;
|
||||
$this->httpPort = $httpPort;
|
||||
$this->httpsPort = $httpsPort;
|
||||
$this->pathInfo = $pathInfo;
|
||||
$this->queryString = $queryString;
|
||||
}
|
||||
|
||||
public function getBaseUrl(): string
|
||||
{
|
||||
return $this->baseUrl;
|
||||
}
|
||||
|
||||
public function getMethod(): string
|
||||
{
|
||||
return $this->method;
|
||||
}
|
||||
|
||||
public function getHost(): string
|
||||
{
|
||||
return $this->host;
|
||||
}
|
||||
|
||||
public function getScheme(): string
|
||||
{
|
||||
return $this->scheme;
|
||||
}
|
||||
|
||||
public function getHttpPort(): int
|
||||
{
|
||||
return $this->httpPort;
|
||||
}
|
||||
|
||||
public function getHttpsPort(): int
|
||||
{
|
||||
return $this->httpsPort;
|
||||
}
|
||||
|
||||
public function getPathInfo(): string
|
||||
{
|
||||
return $this->pathInfo;
|
||||
}
|
||||
|
||||
public function getQueryString(): string
|
||||
{
|
||||
return $this->queryString;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user