DiskResourceProvider
Implements ResourceProvider
Deprecated
This class is deprecated.
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.
Methods
__construct()
php
public function __construct(string $path)getResource()
php
public function getResource(string $filename)Gets an embedded resource on the plugin file. WARNING: You must close the resource given using fclose()
getResources()
php
public function getResources() : arrayReturns all the resources packaged with the plugin in the form ["path/in/resources" => SplFileInfo]
