modify
This commit is contained in:
@@ -199,16 +199,7 @@ class Crontab extends BaseObject
|
||||
*/
|
||||
public function execute(): void
|
||||
{
|
||||
|
||||
|
||||
// var_dump(($this->handler)());
|
||||
|
||||
var_dump(call_user_func(function ($params, $name) {
|
||||
|
||||
echo date('Y-m-d H:i:s');
|
||||
|
||||
}, $this->params, $this->name));
|
||||
|
||||
var_dump(call_user_func($this->handler, $this->params, $this->name));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user