Service refactor to improve organization
This commit is contained in:
parent
761d34f178
commit
2588c25b0b
12 changed files with 79 additions and 42 deletions
|
@ -26,10 +26,10 @@ namespace Pterodactyl\Http\Controllers\Admin;
|
|||
|
||||
use Pterodactyl\Models\Location;
|
||||
use Prologue\Alerts\AlertsMessageBag;
|
||||
use Pterodactyl\Services\LocationService;
|
||||
use Pterodactyl\Exceptions\DisplayException;
|
||||
use Pterodactyl\Http\Controllers\Controller;
|
||||
use Pterodactyl\Http\Requests\Admin\LocationRequest;
|
||||
use Pterodactyl\Services\Administrative\LocationService;
|
||||
|
||||
class LocationController extends Controller
|
||||
{
|
||||
|
@ -44,16 +44,16 @@ class LocationController extends Controller
|
|||
protected $locationModel;
|
||||
|
||||
/**
|
||||
* @var \Pterodactyl\Services\LocationService
|
||||
* @var \Pterodactyl\Services\Administrative\\LocationService
|
||||
*/
|
||||
protected $service;
|
||||
|
||||
/**
|
||||
* LocationController constructor.
|
||||
*
|
||||
* @param \Prologue\Alerts\AlertsMessageBag $alert
|
||||
* @param \Pterodactyl\Models\Location $locationModel
|
||||
* @param \Pterodactyl\Services\LocationService $service
|
||||
* @param \Prologue\Alerts\AlertsMessageBag $alert
|
||||
* @param \Pterodactyl\Models\Location $locationModel
|
||||
* @param \Pterodactyl\Services\Administrative\LocationService $service
|
||||
*/
|
||||
public function __construct(
|
||||
AlertsMessageBag $alert,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue