改名
This commit is contained in:
@@ -146,7 +146,7 @@ abstract class BaseApplication extends Component
|
|||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
#[Pure] protected function looksLikeSetter(string $line): bool
|
protected function looksLikeSetter(string $line): bool
|
||||||
{
|
{
|
||||||
return str_contains($line, '=');
|
return str_contains($line, '=');
|
||||||
}
|
}
|
||||||
@@ -211,7 +211,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param TaskExecute $execute
|
* @param TaskExecute $execute
|
||||||
* @throws ReflectionException|NotFindClassException
|
* @throws ReflectionException
|
||||||
*/
|
*/
|
||||||
public function task(TaskExecute $execute): void
|
public function task(TaskExecute $execute): void
|
||||||
{
|
{
|
||||||
@@ -223,8 +223,6 @@ abstract class BaseApplication extends Component
|
|||||||
* @param $key
|
* @param $key
|
||||||
* @param $value
|
* @param $value
|
||||||
* @throws InitException
|
* @throws InitException
|
||||||
* @throws NotFindClassException
|
|
||||||
* @throws ReflectionException
|
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private function addEvent($key, $value): void
|
private function addEvent($key, $value): void
|
||||||
@@ -280,9 +278,7 @@ abstract class BaseApplication extends Component
|
|||||||
/**
|
/**
|
||||||
* @param $name
|
* @param $name
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws ReflectionException
|
* @throws
|
||||||
* @throws NotFindClassException
|
|
||||||
* @throws Exception
|
|
||||||
*/
|
*/
|
||||||
public function get($name): mixed
|
public function get($name): mixed
|
||||||
{
|
{
|
||||||
@@ -309,7 +305,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Logger
|
* @return Logger
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getLogger(): Logger
|
public function getLogger(): Logger
|
||||||
{
|
{
|
||||||
@@ -319,7 +315,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return \Redis|Redis
|
* @return \Redis|Redis
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getRedis(): Redis|\Redis
|
public function getRedis(): Redis|\Redis
|
||||||
{
|
{
|
||||||
@@ -338,7 +334,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return ErrorHandler
|
* @return ErrorHandler
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getError(): ErrorHandler
|
public function getError(): ErrorHandler
|
||||||
{
|
{
|
||||||
@@ -349,7 +345,7 @@ abstract class BaseApplication extends Component
|
|||||||
/**
|
/**
|
||||||
* @param $name
|
* @param $name
|
||||||
* @return Table
|
* @return Table
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getTable($name): Table
|
public function getTable($name): Table
|
||||||
{
|
{
|
||||||
@@ -359,7 +355,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Config
|
* @return Config
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getConfig(): Config
|
public function getConfig(): Config
|
||||||
{
|
{
|
||||||
@@ -369,7 +365,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Router
|
* @return Router
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getRouter(): Router
|
public function getRouter(): Router
|
||||||
{
|
{
|
||||||
@@ -379,7 +375,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Jwt
|
* @return Jwt
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getJwt(): Jwt
|
public function getJwt(): Jwt
|
||||||
{
|
{
|
||||||
@@ -389,7 +385,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Server
|
* @return Server
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getServer(): Server
|
public function getServer(): Server
|
||||||
{
|
{
|
||||||
@@ -409,7 +405,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return SAnnotation
|
* @return SAnnotation
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getAnnotation(): SAnnotation
|
public function getAnnotation(): SAnnotation
|
||||||
{
|
{
|
||||||
@@ -419,7 +415,7 @@ abstract class BaseApplication extends Component
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Async
|
* @return Async
|
||||||
* @throws Exception
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function getAsync(): Async
|
public function getAsync(): Async
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user