ConfigurableInitInterface
extends
ConfigurableInterface
in
This extends the `Configurable` interface to include an `init()` method to perform initialization of properties.
Consider it like a constructor but doesn't enforce arguments.
More importantly, the init() method can be called after all objects have been created. So inter-object dependencies don't require a careful ordering of creation.
Table of Contents
Methods
Methods
init()
Initialize the object.
public
init() : void
update()
Update the object with a new configuration.
public
update(iterable<string|int, mixed> $config) : void
Parameters
- $config : iterable<string|int, mixed>