ringfinger/backend/classes/api/ApiSuccessResponse.php

13 lines
208 B
PHP
Raw Permalink Normal View History

2020-08-17 23:46:58 +02:00
<?php
declare(strict_types=1);
class ApiSuccessResponse extends ApiResponse
{
2020-08-23 12:37:39 +02:00
public function __construct(bool $success = true)
{
parent::__construct();
$this->setParameter('success', $success);
}
2020-08-17 23:46:58 +02:00
}