/** * Instantiate a section panel. * * @param mixed[] $params */ function __construct($params) { foreach ($params as $name => $value) { $this->{$name} = $value; } $this->parent->debugMP('wpcsl.settings', 'msg', "Created section {$params['name']}", '', NULL, NULL, true); }