This commit is contained in:
2021-03-29 15:14:17 +08:00
parent b1b42e053d
commit 345ead8ba4
2 changed files with 17 additions and 8 deletions
+10
View File
@@ -4,9 +4,14 @@
namespace Snowflake\Crontab;
use Exception;
use ReflectionException;
use Snowflake\Abstracts\Config;
use Snowflake\Abstracts\Providers;
use Snowflake\Application;
use Snowflake\Exception\ComponentException;
use Snowflake\Exception\ConfigException;
use Snowflake\Exception\NotFindClassException;
/**
@@ -19,6 +24,11 @@ class CrontabProviders extends Providers
/**
* @param Application $application
* @throws ReflectionException
* @throws ComponentException
* @throws ConfigException
* @throws NotFindClassException
* @throws Exception
*/
public function onImport(Application $application)
{
-1
View File
@@ -21,7 +21,6 @@ class Producer extends Component
/**
* @param Crontab $crontab
* @param $executeTime
* @throws Exception
*/
public function dispatch(Crontab $crontab)