modify plugin name
This commit is contained in:
@@ -15,6 +15,7 @@ use Kiri;
|
||||
use Kiri\Di\LocalService;
|
||||
use Kiri\Error\{ErrorHandler, StdoutLogger, StdoutLoggerInterface};
|
||||
use Kiri\Exception\{InitException};
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Kiri\Server\{Server};
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
@@ -41,7 +42,7 @@ abstract class BaseApplication extends Component
|
||||
*
|
||||
* @throws
|
||||
*/
|
||||
public function __construct()
|
||||
public function __construct(public ContainerInterface $container)
|
||||
{
|
||||
Kiri::init($this);
|
||||
$config = sweep(APP_PATH . '/config');
|
||||
|
||||
@@ -24,9 +24,6 @@ use Psr\Container\NotFoundExceptionInterface;
|
||||
/**
|
||||
* Class Component
|
||||
* @package Kiri\Base
|
||||
* @property EventDispatch $eventDispatch
|
||||
* @property EventProvider $eventProvider
|
||||
* @property Container $container
|
||||
*/
|
||||
class Component implements Configure
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user