PharPluginLoader
Implements PluginLoader
Handles different types of plugins
Methods
__construct()
php
public function __construct(\pocketmine\thread\ThreadSafeClassLoader $loader)canLoadPlugin()
php
public function canLoadPlugin(string $path) : boolgetAccessProtocol()
php
public function getAccessProtocol() : stringgetPluginDescription()
php
public function getPluginDescription(string $file) : ?\pocketmine\plugin\PluginDescriptionGets the PluginDescription from the file
loadPlugin()
php
public function loadPlugin(string $file) : voidLoads the plugin contained in $file
