mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
INA-5 | Renamed repository and added license
This commit is contained in:
parent
e137b1ac0b
commit
63061b6cf4
@ -18,7 +18,7 @@ use App\Jobs\Ninja\TaskScheduler;
|
||||
use App\Jobs\Report\ProfitAndLoss;
|
||||
use App\Models\ScheduledJob;
|
||||
use App\Models\Scheduler;
|
||||
use App\Repositories\SchedulerRepository;
|
||||
use App\Repositories\TaskSchedulerRepository;
|
||||
use App\Transformers\TaskSchedulerTransformer;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
@ -28,9 +28,9 @@ class TaskSchedulerController extends BaseController
|
||||
{
|
||||
protected $entity_type = TaskScheduler::class;
|
||||
protected $entity_transformer = TaskSchedulerTransformer::class;
|
||||
protected SchedulerRepository $scheduler_repository;
|
||||
protected TaskSchedulerRepository $scheduler_repository;
|
||||
|
||||
public function __construct(SchedulerRepository $scheduler_repository)
|
||||
public function __construct(TaskSchedulerRepository $scheduler_repository)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
|
18
app/Repositories/TaskSchedulerRepository.php
Normal file
18
app/Repositories/TaskSchedulerRepository.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* Invoice Ninja (https://invoiceninja.com).
|
||||
*
|
||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||
*
|
||||
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||
*
|
||||
* @license https://www.elastic.co/licensing/elastic-license
|
||||
*/
|
||||
|
||||
namespace App\Repositories;
|
||||
|
||||
|
||||
class TaskSchedulerRepository extends BaseRepository
|
||||
{
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user