13 lines
229 B
PHP
13 lines
229 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
class ApiSuccessResponse extends ApiResponse
|
|
{
|
|
public function __construct(bool $success = true)
|
|
{
|
|
parent::__construct();
|
|
$this->setParameter('success', $success);
|
|
}
|
|
}
|