\Charcoal\App\TemplateWidgetInterface

Summary

Methods
Constants
setDependencies()
setData()
setActive()
active()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setDependencies()

setDependencies(\Pimple\Container  $container) : void

Give an opportunity to children classes to inject dependencies from a Pimple Container.

Does nothing by default, reimplement in children classes.

The $container DI-container (from Pimple) should not be saved or passed around, only to be used to inject dependencies (typically via setters).

Parameters

\Pimple\Container $container

A dependencies container instance.

active()

active() : boolean

Returns

boolean