This commit is contained in:
2021-08-11 10:28:47 +08:00
parent 806bf80764
commit fbd8ecadac
+9 -2
View File
@@ -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