public function __construct($name, array $handlers = []) { $this->name = $name; $this->handlers = $handlers; }