modify plugin name
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
<?php
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Kiri\Abstracts;
|
|
||||||
|
|
||||||
|
|
||||||
use Exception;
|
|
||||||
use Kiri\Core\Json;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Class BaseGoto
|
|
||||||
* @package Kiri\Abstracts
|
|
||||||
*/
|
|
||||||
class BaseGoto extends Component
|
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param string $message
|
|
||||||
* @param int $statusCode
|
|
||||||
* @return mixed
|
|
||||||
* @throws Exception
|
|
||||||
*/
|
|
||||||
public function end(string $message, int $statusCode = 200): mixed
|
|
||||||
{
|
|
||||||
throw new Exception(Json::to(12350, $message), $statusCode);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -21,7 +21,6 @@ use Kiri\Jwt\JWTAuth;
|
|||||||
* @property Logger $logger
|
* @property Logger $logger
|
||||||
* @property JWTAuth $jwt
|
* @property JWTAuth $jwt
|
||||||
* @property SAnnotation $annotation
|
* @property SAnnotation $annotation
|
||||||
* @property BaseGoto $goto
|
|
||||||
* @property Connection $databases
|
* @property Connection $databases
|
||||||
*/
|
*/
|
||||||
trait TraitApplication
|
trait TraitApplication
|
||||||
|
|||||||
Reference in New Issue
Block a user