The class W2w\Lib\Apie\Exceptions\ApieException has been deprecated: use \W2w\Lib\ApieObjectAccessNormalizer\Exceptions\ApieException
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
12
class MethodNotAllowedException extends /** @scrutinizer ignore-deprecated */ ApieException implements LocalizationableException
Loading history...
13
{
14
/**
15
* @var string
16
*/
17
private $method;
18
19
public function __construct(string $method)
20
{
21
$this->method = $method;
22
parent::__construct(405, "Resource has no " . $method . " support");