peliprint/app/Services/Helpers/BlueprintPlaceholderService.php

28 lines
538 B
PHP
Raw Normal View History

<?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;
}
}