|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for pocketmine\plugin\FolderPluginLoader:
Collaboration diagram for pocketmine\plugin\FolderPluginLoader:Public Member Functions | |
| __construct (private readonly ThreadSafeClassLoader $loader) | |
| canLoadPlugin (string $path) | |
| getAccessProtocol () | |
| getPluginDescription (string $path) | |
| loadPlugin (string $path, PluginDescription $description) | |
Definition at line 32 of file FolderPluginLoader.php.
| pocketmine\plugin\FolderPluginLoader::__construct | ( | private readonly ThreadSafeClassLoader | $loader | ) |
Definition at line 33 of file FolderPluginLoader.php.
| pocketmine\plugin\FolderPluginLoader::canLoadPlugin | ( | string | $path | ) |
Returns whether this PluginLoader can load the plugin in the given path.
Implements pocketmine\plugin\PluginLoader.
Definition at line 37 of file FolderPluginLoader.php.
| pocketmine\plugin\FolderPluginLoader::getAccessProtocol | ( | ) |
Returns the protocol prefix used to access files in this plugin, e.g. file://, phar://
Implements pocketmine\plugin\PluginLoader.
Definition at line 66 of file FolderPluginLoader.php.
| pocketmine\plugin\FolderPluginLoader::getPluginDescription | ( | string | $path | ) |
Gets the PluginDescription from the file
Implements pocketmine\plugin\PluginLoader.
Definition at line 51 of file FolderPluginLoader.php.
| pocketmine\plugin\FolderPluginLoader::loadPlugin | ( | string | $path, |
| PluginDescription | $description ) |
Loads the plugin contained in $file
Implements pocketmine\plugin\PluginLoader.
Definition at line 44 of file FolderPluginLoader.php.