peliprint/app/Services/Helpers/BlueprintPlaceholderService.php
purple 4ac2930ab1 Implement custom folder name support.
Attempt at supporting Docker.
2023-05-06 16:21:22 +02:00

27 lines
538 B
PHP

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