改名
This commit is contained in:
@@ -53,8 +53,6 @@ class Application extends BaseApplication
|
||||
{
|
||||
$this->import(ConsoleProviders::class);
|
||||
$this->import(ServerProviders::class);
|
||||
|
||||
$this->import(CrontabProviders::class);
|
||||
}
|
||||
|
||||
|
||||
@@ -67,6 +65,15 @@ class Application extends BaseApplication
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @throws NotFindClassException
|
||||
*/
|
||||
public function withCrontab()
|
||||
{
|
||||
$this->import(CrontabProviders::class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Closure|array $closure
|
||||
* @return $this
|
||||
|
||||
Reference in New Issue
Block a user