Registry

Registers extensions against a Closure which will instantiate the Asset Type handler

author

Cody Lundquist

Methods

Register a resolver with a list of extensions

register(string|array $extensions, \Closure $resolve) 
static

Arguments

$extensions

string|array

$resolve

\Closure

Un-Register one or more extensions

unRegister(mixed $extensions) 
static

Arguments

$extensions

mixed

Return the AssetClass based on the file extension in the Request Class

getClass(\Munee\Request $Request) : Object
static
throws

Arguments

$Request

\Munee\Request

Response

Object

Get Supported Extensions

getSupportedExtensions(string $extension) : array
static
throws

Arguments

$extension

string

Response

array

Properties

Registered Classes

_registry
static
var

Registered Classes