mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-11 09:23:50 +09:00
Updates to vendors etc
This commit is contained in:
29
vendor/symfony/routing/CompiledRoute.php
vendored
29
vendor/symfony/routing/CompiledRoute.php
vendored
@@ -18,15 +18,6 @@ namespace Symfony\Component\Routing;
|
||||
*/
|
||||
class CompiledRoute implements \Serializable
|
||||
{
|
||||
private array $variables;
|
||||
private array $tokens;
|
||||
private string $staticPrefix;
|
||||
private string $regex;
|
||||
private array $pathVariables;
|
||||
private array $hostVariables;
|
||||
private ?string $hostRegex;
|
||||
private array $hostTokens;
|
||||
|
||||
/**
|
||||
* @param string $staticPrefix The static prefix of the compiled route
|
||||
* @param string $regex The regular expression to use to match this route
|
||||
@@ -37,16 +28,16 @@ class CompiledRoute implements \Serializable
|
||||
* @param array $hostVariables An array of host variables
|
||||
* @param array $variables An array of variables (variables defined in the path and in the host patterns)
|
||||
*/
|
||||
public function __construct(string $staticPrefix, string $regex, array $tokens, array $pathVariables, ?string $hostRegex = null, array $hostTokens = [], array $hostVariables = [], array $variables = [])
|
||||
{
|
||||
$this->staticPrefix = $staticPrefix;
|
||||
$this->regex = $regex;
|
||||
$this->tokens = $tokens;
|
||||
$this->pathVariables = $pathVariables;
|
||||
$this->hostRegex = $hostRegex;
|
||||
$this->hostTokens = $hostTokens;
|
||||
$this->hostVariables = $hostVariables;
|
||||
$this->variables = $variables;
|
||||
public function __construct(
|
||||
private string $staticPrefix,
|
||||
private string $regex,
|
||||
private array $tokens,
|
||||
private array $pathVariables,
|
||||
private ?string $hostRegex = null,
|
||||
private array $hostTokens = [],
|
||||
private array $hostVariables = [],
|
||||
private array $variables = [],
|
||||
) {
|
||||
}
|
||||
|
||||
public function __serialize(): array
|
||||
|
||||
Reference in New Issue
Block a user