misc_pterodactyl-panel/app/Http/Controllers/Base/IndexController.php

29 lines
619 B
PHP
Raw Normal View History

<?php
2016-12-07 22:46:38 +00:00
namespace Pterodactyl\Http\Controllers\Base;
use Illuminate\View\View;
use Illuminate\View\Factory as ViewFactory;
use Pterodactyl\Http\Controllers\Controller;
2017-08-31 02:14:20 +00:00
use Pterodactyl\Contracts\Repository\ServerRepositoryInterface;
class IndexController extends Controller
{
/**
* IndexController constructor.
*/
public function __construct(
protected ServerRepositoryInterface $repository,
protected ViewFactory $view
) {
}
2015-12-12 06:21:17 +00:00
/**
* Returns listing of user's servers.
2015-12-12 06:21:17 +00:00
*/
public function index(): View
2015-12-12 06:21:17 +00:00
{
return view('templates/base.core');
2015-12-12 06:21:17 +00:00
}
}