peliprint/app/Services/Helpers/BlueprintPlaceholderService.php
purple a52ec1a3c1 Fix indentation on VariableService and fix installation check.
Now the installation will be marked as installed after the installation script ends.
2023-06-20 18:08:25 +02:00

31 lines
582 B
PHP

<?php
namespace Pterodactyl\Services\Helpers;
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
class BlueprintPlaceholderService
{
// Construct BlueprintPlaceholderService
public function __construct(
private SettingsRepositoryInterface $settings,
) {
}
// version()
public function version(): string {
$v = "&bp.version&";
return $v;
}
// folder()
public function folder(): string {
$v = "&bp.folder&";
return $v;
}
// installed()
public function installed(): string {
$v = "NOTINSTALLED";
return $v;
}
}