find(array_get($data, 'config_from')); throw_unless($parentEgg, new NoParentConfigurationFoundException(trans('exceptions.egg.invalid_copy_id'))); } return Egg::query()->create(array_merge($data, [ 'uuid' => Uuid::uuid4()->toString(), 'author' => config('panel.service.author'), ])); } }