13 lines
260 B
PHP
13 lines
260 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
class ApiBadRequestResponse extends ApiResponse
|
||
|
{
|
||
|
public function __construct()
|
||
|
{
|
||
|
parent::__construct();
|
||
|
$this->setParameter('success', false);
|
||
|
$this->setStatus(self::STATUS_BAD_REQUEST);
|
||
|
}
|
||
|
}
|