mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-09 05:08:36 +00:00
Mark some new things as internal
This commit is contained in:
parent
4a0a538278
commit
9fdb6ba5aa
@ -90,6 +90,16 @@ HEADER
|
|||||||
fwrite($file, "declare(strict_types=1);\n\n");
|
fwrite($file, "declare(strict_types=1);\n\n");
|
||||||
fwrite($file, "namespace pocketmine;\n\n");
|
fwrite($file, "namespace pocketmine;\n\n");
|
||||||
|
|
||||||
|
fwrite($file, <<<'DOC'
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
* Constants for all properties available in pocketmine.yml.
|
||||||
|
* This is generated by build/generate-pocketmine-yml-property-consts.php.
|
||||||
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
DOC
|
||||||
|
);
|
||||||
fwrite($file, "final class YmlServerProperties{\n");
|
fwrite($file, "final class YmlServerProperties{\n");
|
||||||
foreach(Utils::stringifyKeys($constants) as $constName => $propertyName){
|
foreach(Utils::stringifyKeys($constants) as $constName => $propertyName){
|
||||||
fwrite($file, "\tpublic const $constName = '$propertyName';\n");
|
fwrite($file, "\tpublic const $constName = '$propertyName';\n");
|
||||||
|
@ -23,6 +23,10 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace pocketmine;
|
namespace pocketmine;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
* Constants for all properties available in server.properties.
|
||||||
|
*/
|
||||||
final class ServerProperties{
|
final class ServerProperties{
|
||||||
|
|
||||||
public const AUTO_SAVE = "auto-save";
|
public const AUTO_SAVE = "auto-save";
|
||||||
|
@ -23,6 +23,12 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace pocketmine;
|
namespace pocketmine;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
* Constants for all properties available in pocketmine.yml.
|
||||||
|
* This is generated by build/generate-pocketmine-yml-property-consts.php.
|
||||||
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
final class YmlServerProperties{
|
final class YmlServerProperties{
|
||||||
public const ALIASES = 'aliases';
|
public const ALIASES = 'aliases';
|
||||||
public const ANONYMOUS_STATISTICS = 'anonymous-statistics';
|
public const ANONYMOUS_STATISTICS = 'anonymous-statistics';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user