src/TaskExecutor.php
private function beforeTask(
        string $logid,
        int $spanid,
        string $name,
        string $method,
        string $type,
        string $taskClass
    ) {
        $event = new BeforeTaskEvent(TaskEvent::BEFORE_TASK, $logid, $spanid, $name, $method, $type, $taskClass);
        App::trigger($event);
    }
private function beforeTask(
        string $logid,
        int $spanid,
        string $name,
        string $method,
        string $type,
        string $taskClass
    ) {
        $event = new BeforeTaskEvent(TaskEvent::BEFORE_TASK, $logid, $spanid, $name, $method, $type, $taskClass);
        App::trigger($event);
    }
private function beforeTask ( string $ logid , int $ spanid , string $ name , string $ method , string $ type , string $ taskClass ) { $ event = new BeforeTaskEvent ( TaskEvent :: BEFORE_TASK , $ logid , $ spanid , $ name , $ method , $ type , $ taskClass ) ; App :: trigger ( $ event ) ; }
Trigger before_task event.
Trigger before_task event .