App\Http\Controllers\TaskApiController::__construct PHP Méthode

__construct() public méthode

public __construct ( TaskRepository $taskRepo )
$taskRepo App\Ninja\Repositories\TaskRepository
    public function __construct(TaskRepository $taskRepo)
    {
        parent::__construct();
        $this->taskRepo = $taskRepo;
    }