primo commit
This commit is contained in:
30
libraries/vendor/web-token/jwt-library/Checker/MissingMandatoryHeaderParameterException.php
vendored
Normal file
30
libraries/vendor/web-token/jwt-library/Checker/MissingMandatoryHeaderParameterException.php
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Jose\Component\Checker;
|
||||
|
||||
use Exception;
|
||||
|
||||
class MissingMandatoryHeaderParameterException extends Exception
|
||||
{
|
||||
/**
|
||||
* MissingMandatoryHeaderParameterException constructor.
|
||||
*
|
||||
* @param string[] $parameters
|
||||
*/
|
||||
public function __construct(
|
||||
string $message,
|
||||
private readonly array $parameters
|
||||
) {
|
||||
parent::__construct($message);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getParameters(): array
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user