class Illuminate / View / Engines / EngineResolver
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

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