public function createModel($data, LoopInterface $loop) { return (new ReflectionClass($data['class']))->newInstance($loop, $data['config']); }