Import all services into other services.
This commit is contained in:
parent
1d8a2018bd
commit
c897348d8a
2 changed files with 14 additions and 3 deletions
|
@ -3,19 +3,24 @@
|
||||||
/*
|
/*
|
||||||
| Welcome to the Blueprint Extension Library.
|
| Welcome to the Blueprint Extension Library.
|
||||||
|
|
|
|
||||||
| This allows you and developers to interact with
|
| This allows developers to interact with
|
||||||
| Blueprint easely and without hassle.
|
| Pterodactyl easely and without hassle.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Pterodactyl\Services\Helpers;
|
namespace Pterodactyl\Services\Helpers;
|
||||||
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
|
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
|
||||||
use Illuminate\Http\RedirectResponse;
|
use Pterodactyl\Services\Helpers\BlueprintVariableService;
|
||||||
|
use Pterodactyl\Services\Helpers\BlueprintTelemetryService;
|
||||||
|
use Pterodactyl\Services\Helpers\BlueprintPlaceholderService;
|
||||||
|
|
||||||
class BlueprintExtensionLibrary
|
class BlueprintExtensionLibrary
|
||||||
{
|
{
|
||||||
// Construct BlueprintExtensionLibrary
|
// Construct BlueprintExtensionLibrary
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private SettingsRepositoryInterface $settings,
|
private SettingsRepositoryInterface $settings,
|
||||||
|
private BlueprintVariableService $bp,
|
||||||
|
private BlueprintTelemetryService $telemetry,
|
||||||
|
private BlueprintPlaceholderService $placeholder,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,18 @@
|
||||||
|
|
||||||
namespace Pterodactyl\Services\Helpers;
|
namespace Pterodactyl\Services\Helpers;
|
||||||
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
|
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
|
||||||
|
use Pterodactyl\Services\Helpers\BlueprintVariableService;
|
||||||
|
use Pterodactyl\Services\Helpers\BlueprintExtensionLibrary;
|
||||||
|
use Pterodactyl\Services\Helpers\BlueprintTelemetryService;
|
||||||
|
|
||||||
class BlueprintPlaceholderService
|
class BlueprintPlaceholderService
|
||||||
{
|
{
|
||||||
// Construct BlueprintPlaceholderService
|
// Construct BlueprintPlaceholderService
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private SettingsRepositoryInterface $settings,
|
private SettingsRepositoryInterface $settings,
|
||||||
|
private BlueprintVariableService $bp,
|
||||||
|
private BlueprintExtensionLibrary $lib,
|
||||||
|
private BlueprintTelemetryService $telemetry,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue