public function syncTagsByName(string|array|null $tags = null, ?Closure $closure = null): self 	{ 		$this->tags()->delete();  		$tags ??= [];  		if (is_string($tags)) { 			$delimiter = self::getTagDelimiter(); 			$tags = explode(empty($delimiter) ? ' ' : $delimiter, $tags); 		}  		foreach ($tags as $index => $tag) { 			$tag = Tag::firstOrCreate([ 				'name' => $tag, 			]);  			$this->tags()->create([ 				'tag_id' => $tag->id, 			]);  			if (is_callable($closure)) { 				$closure($tag, $index); 			} 		}  		return $this; 	}