more deprecations in line with major-next

This commit is contained in:
Dylan K. Taylor 2024-12-05 13:02:09 +00:00
parent 35a90d24ec
commit 0aaf4238a8
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
2 changed files with 5 additions and 0 deletions

View File

@ -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
* to enable special types of access.
*
* @deprecated
*/
class DiskResourceProvider implements ResourceProvider{
private string $file;

View File

@ -23,6 +23,9 @@ declare(strict_types=1);
namespace pocketmine\plugin;
/**
* @deprecated
*/
interface ResourceProvider{
/**
* Gets an embedded resource on the plugin file.