class TemplateLocator (View source)

Properties

protected $template
protected $locations

Methods

createTemplateFromInput($input)

No description

createLocationFromInput($input)

No description

__construct($template = null)

No description

getTemplate()

No description

setTemplate($template)

No description

addLocation($location)

Adding a location tells our locator to look in an additional spot.

prependLocation($location)

Adds a new place to look at the front of the line

getPath(TemplateLocation $location, Template $template)

No description

getFile()

No description

array
getLocations()

No description

getLocation()

No description

Details

protected createTemplateFromInput($input)

No description

Parameters

$input

protected createLocationFromInput($input)

No description

Parameters

$input

__construct($template = null)

No description

Parameters

$template

Template getTemplate()

No description

Return Value

Template

setTemplate($template)

No description

Parameters

$template

addLocation($location)

Adding a location tells our locator to look in an additional spot.

Parameters

$location

prependLocation($location)

Adds a new place to look at the front of the line

Parameters

$location

protected getPath(TemplateLocation $location, Template $template)

No description

Parameters

TemplateLocation $location
Template $template

getFile()

No description

array getLocations()

No description

Return Value

array

getLocation()

No description