改名
This commit is contained in:
+12
-2
@@ -9,9 +9,9 @@
|
|||||||
namespace Snowflake;
|
namespace Snowflake;
|
||||||
|
|
||||||
|
|
||||||
|
use Database\DatabasesProviders;
|
||||||
use Exception;
|
use Exception;
|
||||||
use HttpServer\Server;
|
use HttpServer\ServerProviders;
|
||||||
use ReflectionException;
|
|
||||||
use Snowflake\Abstracts\BaseApplication;
|
use Snowflake\Abstracts\BaseApplication;
|
||||||
use Snowflake\Exception\NotFindClassException;
|
use Snowflake\Exception\NotFindClassException;
|
||||||
|
|
||||||
@@ -31,6 +31,16 @@ class Application extends BaseApplication
|
|||||||
public $id = 'uniqueId';
|
public $id = 'uniqueId';
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws NotFindClassException
|
||||||
|
*/
|
||||||
|
public function init()
|
||||||
|
{
|
||||||
|
$this->import(DatabasesProviders::class);
|
||||||
|
$this->import(ServerProviders::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $service
|
* @param string $service
|
||||||
* @return $this
|
* @return $this
|
||||||
|
|||||||
Reference in New Issue
Block a user