App\Events\TaskAction::__construct PHP 메소드

__construct() 공개 메소드

Create a new event instance.
public __construct ( Tasks $task, $action ) : void
$task app\models\Tasks
리턴 void
    public function __construct(Tasks $task, $action)
    {
        $this->task = $task;
        $this->action = $action;
    }