32 lines
497 B
PHP
Executable File
32 lines
497 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Services;
|
|
|
|
use App\CodeVehicleOwn;
|
|
use App\Contracts\CodeVehicleOwnResourceInterface;
|
|
use App\Libraries\UuidHelper;
|
|
use Response;
|
|
use Schema;
|
|
use Hash;
|
|
use Illuminate\Http\Request;
|
|
|
|
class CodeVehicleOwnService implements CodeVehicleOwnResourceInterface
|
|
{
|
|
|
|
public $vehicleOwn;
|
|
|
|
public function __construct(Request $request)
|
|
{
|
|
|
|
}
|
|
|
|
public function getAll()
|
|
{
|
|
$this->vehicleOwn = CodeVehicleOwn::all();
|
|
|
|
return $this->vehicleOwn;
|
|
}
|
|
|
|
|
|
}
|