public function __construct(ComponentRegistry $registry, $config) { $this->_registry = $registry; $this->config(['columns' => []]); $this->config($config); }