Definition at line 34 of file PluginGraylist.php.
◆ __construct()
| pocketmine\plugin\PluginGraylist::__construct |
( |
array | $plugins = [], |
|
|
bool | $whitelist = false ) |
- Parameters
-
| string[] | $plugins | @phpstan-param list<string> $plugins |
Definition at line 47 of file PluginGraylist.php.
◆ fromArray()
| static pocketmine\plugin\PluginGraylist::fromArray |
( |
array | $array | ) |
|
|
static |
◆ getPlugins()
| pocketmine\plugin\PluginGraylist::getPlugins |
( |
| ) |
|
◆ isAllowed()
| pocketmine\plugin\PluginGraylist::isAllowed |
( |
string | $name | ) |
|
Returns whether the given name is permitted by this graylist.
Definition at line 67 of file PluginGraylist.php.
◆ isWhitelist()
| pocketmine\plugin\PluginGraylist::isWhitelist |
( |
| ) |
|
◆ toArray()
| pocketmine\plugin\PluginGraylist::toArray |
( |
| ) |
|
The documentation for this class was generated from the following file: