src/Routing/Route.php
/**
	 * Gets an array of the names of all parameters, both required and optional, in the route uri.
	 *
	 * @return string[]
	 */
Gets an array of the names of all parameters, both required and optional, in the route uri.
@return string[]
Gets an array of the names of all parameters both required and optional in the route uri . @return string []
public function parameterNames() {
		preg_match_all('/\{(.*?)\}/', ($this->getDomain() ?: '') . $this->uri(), $matches);
		return array_map(function ($m) {
			return trim($m, '?');
		}, $matches[1]);
	}
public function parameterNames ( ) { preg_match_all ( '/\{(.*?)\}/' , ( $ this -> getDomain ( ) ? : '' ) . $ this -> uri ( ) , $ matches ) ; return array_map ( function ( $ m ) { return trim ( $ m , '?' ) ; } , $ matches [ 1 ] ) ; }
Gets an array of the names of all parameters, both required and optional, in the route uri.
Gets an array of the names of all parameters both required and optional in the route uri .