class Illuminate / View / Engines / EngineResolver

EngineResolver

Properties

protected

$resolvers array

The array of engine resolvers.

Default: []
protected

$resolved array

The resolved engine instances.

Default: []

Methods

public

register ( $engine , Closure $resolver ) : void

Register a new engine resolver.

Parameters

public

resolve ( $engine ) : Engine

Resolve an engine instance by name.

Parameters

  • $engine string
public

forget ( $engine ) : void

Remove a resolved engine.

Parameters

  • $engine string