protected function onCreate($config = []) { $class = $this->getClass(); return new $class($config); }