变更
This commit is contained in:
@@ -13,10 +13,9 @@ namespace Kiri\Abstracts;
|
||||
use Exception;
|
||||
use Kiri;
|
||||
use Kiri\Di\LocalService;
|
||||
use Kiri\Error\{ErrorHandler, StdoutLogger, StdoutLoggerInterface};
|
||||
use Kiri\Error\{StdoutLogger, StdoutLoggerInterface};
|
||||
use Kiri\Exception\{InitException};
|
||||
use Kiri\Di\ContainerInterface;
|
||||
use Kiri\Server\{Server};
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Kiri\Events\EventProvider;
|
||||
|
||||
@@ -225,17 +224,6 @@ abstract class BaseMain extends Component
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Server
|
||||
* @throws
|
||||
*/
|
||||
public function getServer(): Server
|
||||
{
|
||||
return Kiri::getDi()->get(Server::class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @return mixed|null
|
||||
|
||||
Reference in New Issue
Block a user