peliprint/app/BlueprintFramework/Services/PlaceholderService/BlueprintPlaceholderService.php
purple 942285cab3 Move all Blueprint libraries into a new "BlueprintFramework" folder in the app directory.
I also added a "legacy" extensionlibrary for backwards compatability for now.
2023-09-07 16:17:04 +02:00

31 lines
589 B
PHP

<?php
namespace Pterodactyl\BlueprintFramework\Services\PlaceholderService;
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
class BlueprintPlaceholderService
{
// Construct core
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;
}
}