2023-04-10 11:13:03 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Services\Helpers;
|
|
|
|
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
|
|
|
|
|
|
|
|
class BlueprintPlaceholderService
|
|
|
|
{
|
2023-06-20 11:53:08 -04:00
|
|
|
// Construct BlueprintPlaceholderService
|
|
|
|
public function __construct(
|
|
|
|
private SettingsRepositoryInterface $settings,
|
|
|
|
) {
|
|
|
|
}
|
2023-04-10 11:13:03 -04:00
|
|
|
|
2023-06-20 11:53:08 -04:00
|
|
|
// version()
|
|
|
|
public function version(): string {
|
|
|
|
$v = "&bp.version&";
|
|
|
|
return $v;
|
|
|
|
}
|
2023-05-06 10:21:22 -04:00
|
|
|
|
2023-06-20 11:53:08 -04:00
|
|
|
// folder()
|
|
|
|
public function folder(): string {
|
|
|
|
$v = "&bp.folder&";
|
|
|
|
return $v;
|
|
|
|
}
|
2023-06-20 12:08:25 -04:00
|
|
|
|
|
|
|
// installed()
|
|
|
|
public function installed(): string {
|
|
|
|
$v = "NOTINSTALLED";
|
|
|
|
return $v;
|
|
|
|
}
|
2023-04-10 11:13:03 -04:00
|
|
|
}
|