public function save(ExtensionContract $extension, array $attributes = []) : ExtensionModel {
		$identity = [
			'vendor'    => $extension->getVendorName(),
			'name'      => $extension->getPackageName(),
		];

		/* @var $model ExtensionModel */
		$model = ExtensionModel::query()->updateOrCreate($identity, $attributes);

		return $model;
	}