\Charcoal\App\TemplateAbstractWidget

Summary

Methods
Properties
Constants
__construct()
setDependencies()
setActive()
active()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$active
N/A

Properties

$active

$active : boolean

Type

boolean

Methods

__construct()

__construct(array|\ArrayAccess  $data = null) 

Parameters

array|\ArrayAccess $data

Optional dependencies.

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