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