src/SlugOptions.php
public function setPreTransforms(iterable $transforms): self
	{
		if (!is_array($transforms)) {
			$transforms = iterator_to_array($transforms, false);
		}

		foreach (array_reverse($transforms) as $transform) {
			$this->assertTransform($transform);
			$this->addTransform($transform);
		}

		return $this;
	}
public function setPreTransforms(iterable $transforms): self
	{
		if (!is_array($transforms)) {
			$transforms = iterator_to_array($transforms, false);
		}

		foreach (array_reverse($transforms) as $transform) {
			$this->assertTransform($transform);
			$this->addTransform($transform);
		}

		return $this;
	}
public function setPreTransforms ( iterable $ transforms ) : self { if ( ! is_array ( $ transforms ) ) { $ transforms = iterator_to_array ( $ transforms , false ) ; } foreach ( array_reverse ( $ transforms ) as $ transform ) { $ this -> assertTransform ( $ transform ) ; $ this -> addTransform ( $ transform ) ; } return $ this ; }
Add transforms before existing ones.

@param iterable $transforms List of rules or rulesets to be used by the Transliterator,
like `Lower`, `ASCII` or `a > b; c > d`

@return static
Add transforms before existing ones .