__construct()
__construct(array $config)
constructor. Add filters on the HookManager.
Parameters
array | $config | optional key/value pairs in an associative array. Used to override default configuration values. |
sets a custom error handler to catch notices and such and transform them to exceptions.