AssetsPackageInterface
interface AssetsPackageInterface
AssetsPackageInterface
Any Assets Package class must implement this interface methods.
Methods
__construct(string $_root_dir, string $_assets_dir = null, string $_vendor_dir = null, string $_assets_vendor_dir = null)
No description
static object
createFromAssetsLoader(Loader $loader)
Create a new instance from an AssetsManager\Loader
instance
loadFromArray(array $entries)
Load a new package from the ASSETS_DB_FILENAME
entry
Details
at line 41
__construct(string $_root_dir, string $_assets_dir = null, string $_vendor_dir = null, string $_assets_vendor_dir = null)
at line 48
static object
createFromAssetsLoader(Loader $loader)
Create a new instance from an AssetsManager\Loader
instance
at line 55
AssetsPackageInterface
loadFromArray(array $entries)
Load a new package from the ASSETS_DB_FILENAME
entry