src/TaskExecutor.php
private function afterTask(
        string $logid,
        int $spanid,
        string $name,
        string $method,
        string $type,
        string $taskClass
    ) {
        // Release system resources.
        App::trigger(AppEvent::RESOURCE_RELEASE);

        // Trigger after task event.
        $event = new AfterTaskEvent(TaskEvent::AFTER_TASK, $logid, $spanid, $name, $method, $type, $taskClass);
        App::trigger($event);
    }
private function afterTask(
        string $logid,
        int $spanid,
        string $name,
        string $method,
        string $type,
        string $taskClass
    ) {
        // Release system resources.
        App::trigger(AppEvent::RESOURCE_RELEASE);

        // Trigger after task event.
        $event = new AfterTaskEvent(TaskEvent::AFTER_TASK, $logid, $spanid, $name, $method, $type, $taskClass);
        App::trigger($event);
    }
private function afterTask ( string $ logid , int $ spanid , string $ name , string $ method , string $ type , string $ taskClass ) { // Release system resources. App :: trigger ( AppEvent :: RESOURCE_RELEASE ) ; // Trigger after task event. $ event = new AfterTaskEvent ( TaskEvent :: AFTER_TASK , $ logid , $ spanid , $ name , $ method , $ type , $ taskClass ) ; App :: trigger ( $ event ) ; }
Trigger resource_release and after_task events.
Trigger resource_release and after_task events .