More code updates

This commit is contained in:
Dane Everitt 2017-10-07 17:21:41 -05:00
parent cc297eea09
commit 17642bffe7
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
32 changed files with 209 additions and 2863 deletions

View file

@ -11,13 +11,13 @@ namespace Pterodactyl\Http\Controllers\API\Remote;
use Illuminate\Http\JsonResponse;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Services\Eggs\EggConfigurationService;
use Pterodactyl\Contracts\Repository\EggRepositoryInterface;
use Pterodactyl\Services\Services\Options\EggConfigurationService;
class OptionRetrievalController extends Controller
class EggRetrievalController extends Controller
{
/**
* @var \Pterodactyl\Services\Services\Options\EggConfigurationService
* @var \Pterodactyl\Services\Eggs\EggConfigurationService
*/
protected $configurationFileService;
@ -29,8 +29,8 @@ class OptionRetrievalController extends Controller
/**
* OptionUpdateController constructor.
*
* @param \Pterodactyl\Contracts\Repository\EggRepositoryInterface $repository
* @param \Pterodactyl\Services\Services\Options\EggConfigurationService $configurationFileService
* @param \Pterodactyl\Contracts\Repository\EggRepositoryInterface $repository
* @param \Pterodactyl\Services\Eggs\EggConfigurationService $configurationFileService
*/
public function __construct(
EggRepositoryInterface $repository,
@ -41,7 +41,7 @@ class OptionRetrievalController extends Controller
}
/**
* Return a JSON array of service options and the SHA1 hash of thier configuration file.
* Return a JSON array of Eggs and the SHA1 hash of thier configuration file.
*
* @return \Illuminate\Http\JsonResponse
*/
@ -58,7 +58,7 @@ class OptionRetrievalController extends Controller
}
/**
* Return the configuration file for a single service option for the Daemon.
* Return the configuration file for a single Egg for the Daemon.
*
* @param string $uuid
* @return \Illuminate\Http\JsonResponse