src/Routing/Route.php
/**
	 * If the $name parameter is provided, sets the name to the provided value. Otherwise, gets the current name.
	 * Note that this name is subject to group prefixing.
	 *
	 * @param string|null $name
	 * @return string|Route
	 */
If the $name parameter is provided, sets the name to the provided value. Otherwise, gets the current name.
Note that this name is subject to group prefixing.

@param string|null $name
@return string|Route
If the $name parameter is provided sets the name to the provided value . Otherwise gets the current name . Note that this name is subject to group prefixing . @param string|null $name @return string|Route
public function name($name = null) {
		if (is_null($name)) {
			return $this->name;
		}
		$this->name = $this->group->namePrefix() . $name;
		return $this;
	}
public function name ( $ name = null ) { if ( is_null ( $ name ) ) { return $ this -> name ; } $ this -> name = $ this -> group -> namePrefix ( ) . $ name ; return $ this ; }
If the $name parameter is provided, sets the name to the provided value.
If the $name parameter is provided sets the name to the provided value .