This commit is contained in:
User committed 2023-05-29 03:04:33 +03:00
commit 67221e0d93
41 files changed
+516

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?php
namespace App\Common\Services;
use Rmphp\Kernel\Main;
class AbstractService extends Main {
}
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace App\Common\Services;
use Throwable;
class ServiceException extends \Exception {
public array $data;
public function __construct($message="", $code=0, array $data = [], Throwable $previous=null) {
parent::__construct($message, $code, $previous);
$this->data = $data;
}
}