PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\plugin\PluginDescriptionCommandEntry Class Reference
+ Collaboration diagram for pocketmine\plugin\PluginDescriptionCommandEntry:

Public Member Functions

 __construct (private ?string $description, private ?string $usageMessage, private array $aliases, private string $permission, private ?string $permissionDeniedMessage,)
 
 getAliases ()
 
 getDescription ()
 
 getPermission ()
 
 getPermissionDeniedMessage ()
 
 getUsageMessage ()
 

Detailed Description

Definition at line 26 of file PluginDescriptionCommandEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\plugin\PluginDescriptionCommandEntry::__construct ( private ?string $description,
private ?string $usageMessage,
private array $aliases,
private string $permission,
private ?string $permissionDeniedMessage )
Parameters
string[]$aliases@phpstan-param list<string> $aliases

Definition at line 32 of file PluginDescriptionCommandEntry.php.

Member Function Documentation

◆ getAliases()

pocketmine\plugin\PluginDescriptionCommandEntry::getAliases ( )
Returns
string[] @phpstan-return list<string>

Definition at line 48 of file PluginDescriptionCommandEntry.php.

◆ getDescription()

pocketmine\plugin\PluginDescriptionCommandEntry::getDescription ( )

Definition at line 40 of file PluginDescriptionCommandEntry.php.

◆ getPermission()

pocketmine\plugin\PluginDescriptionCommandEntry::getPermission ( )

Definition at line 50 of file PluginDescriptionCommandEntry.php.

◆ getPermissionDeniedMessage()

pocketmine\plugin\PluginDescriptionCommandEntry::getPermissionDeniedMessage ( )

Definition at line 52 of file PluginDescriptionCommandEntry.php.

◆ getUsageMessage()

pocketmine\plugin\PluginDescriptionCommandEntry::getUsageMessage ( )

Definition at line 42 of file PluginDescriptionCommandEntry.php.


The documentation for this class was generated from the following file: