Documentation

ConfigurableInitInterface extends ConfigurableInterface

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

init()  : void
Initialize the object.
update()  : void
Update the object with a new configuration.

Methods

update()

Update the object with a new configuration.

public update(iterable<string|int, mixed> $config) : void
Parameters
$config : iterable<string|int, mixed>
On this page

Search results