public function extend($driver, Closure $callback) { $this->customCreators[$driver] = $callback; return $this; }