/** * Create a new component instance. * * @return Instance */ private function newComponentInstance() { return $this->query->instances()->save(new Instance()); }