The default implementation does two things:
- Initializes the object with the given configuration $config.
- Call Object::init.
If this method is overridden in a child class, it is recommended that
- the last parameter of the constructor is a configuration array, like $config here.
- call the parent implementation at the end of the constructor.
public __construct ( array $config = [] ) | ||
$config | array | name-value pairs that will be used to initialize the object properties |