set() set(string $rule, callable $action) : $this Set values for route. Parameters string $rule for this route callable $action callable to implement a controller for the route Returns $this
match() match(string $query) : boolean Check if the route matches a query Parameters string $query to match against Returns boolean — true if query matches the route
setName() setName(string $name) : $this Set the name of the route. Parameters string $name set a name for the route Returns $this