#21 PIREP scaffolding
This commit is contained in:
@@ -2,20 +2,23 @@
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Repositories\PirepRepository;
|
||||
use App\Repositories\SubfleetRepository;
|
||||
|
||||
|
||||
class PIREPService extends BaseService {
|
||||
|
||||
protected $aircraft;
|
||||
protected $aircraftRepo, $pirepRepo;
|
||||
|
||||
/**
|
||||
* return a PIREP model
|
||||
*/
|
||||
public function __construct(
|
||||
SubfleetRepository $aircraft
|
||||
SubfleetRepository $aircraftRepo,
|
||||
PirepRepository $pirepRepo
|
||||
) {
|
||||
$this->aircraft = $aircraft;
|
||||
$this->aircraftRepo = $aircraftRepo;
|
||||
$this->pirepRepo = $pirepRepo;
|
||||
}
|
||||
|
||||
public function create() {
|
||||
|
||||
Reference in New Issue
Block a user