src/Router.php
public function setMatchTypes($matchTypes)
	{
		if (is_array($matchTypes)) {
			$this->matchTypes = $matchTypes;
		} else {
			foreach ( (array) $matchTypes as $key => $matchType) {
				$this->matchTypes[$key] = $matchType;
			}
		}
	}
public function setMatchTypes($matchTypes)
	{
		if (is_array($matchTypes)) {
			$this->matchTypes = $matchTypes;
		} else {
			foreach ( (array) $matchTypes as $key => $matchType) {
				$this->matchTypes[$key] = $matchType;
			}
		}
	}
public function setMatchTypes ( $ matchTypes ) { if ( is_array ( $ matchTypes ) ) { $ this -> matchTypes = $ matchTypes ; } else { foreach ( ( array ) $ matchTypes as $ key => $ matchType ) { $ this -> matchTypes [ $ key ] = $ matchType ; } } }
Match types are used to replace given search with replace
@param array|string $matchTypes Array containg search and replace
Match types are used to replace given search with replace