This commit is contained in:
User
2023-05-29 03:04:33 +03:00
commit 67221e0d93
41 changed files with 516 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<?php
namespace App\Common\Services;
use Rmphp\Kernel\Main;
class AbstractService extends Main {
}

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;
}
}