mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
more deprecations in line with major-next
This commit is contained in:
parent
35a90d24ec
commit
0aaf4238a8
@ -36,6 +36,8 @@ use const DIRECTORY_SEPARATOR;
|
|||||||
/**
|
/**
|
||||||
* Provides resources from the given plugin directory on disk. The path may be prefixed with a specific access protocol
|
* Provides resources from the given plugin directory on disk. The path may be prefixed with a specific access protocol
|
||||||
* to enable special types of access.
|
* to enable special types of access.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
class DiskResourceProvider implements ResourceProvider{
|
class DiskResourceProvider implements ResourceProvider{
|
||||||
private string $file;
|
private string $file;
|
||||||
|
@ -23,6 +23,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace pocketmine\plugin;
|
namespace pocketmine\plugin;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
interface ResourceProvider{
|
interface ResourceProvider{
|
||||||
/**
|
/**
|
||||||
* Gets an embedded resource on the plugin file.
|
* Gets an embedded resource on the plugin file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user