Class RouteCollection
A route collection.
- ICanBoogie\Routing\RouteCollection implements IteratorAggregate, ArrayAccess, Countable
 
Methods summary
				
				 public 
				
				
				__call( string $method, array $arguments )
				
				: ICanBoogie\Routing\RouteCollection
			
			Adds a route definition using an HTTP method.
				
				 protected 
				
				
				add( array $definition, boolean $trusted_definition = false )
				
				: ICanBoogie\Routing\RouteCollection
			
			Adds a route definition.
				
				 public 
				
				
				resource( string $name, string $controller, array $options = [] )
				
				: array
			
			Adds resource routes.
				
				 public 
				
				
				offsetGet( string $id )
				
				: ICanBoogie\Routing\Route
			
			Returns a ICanBoogie\Routing\Route instance.
				
				 public 
				
				
				find( string $uri, array|null & $captured = null, string $method = Request::METHOD_ANY )
				
				: ICanBoogie\Routing\Route|false|null
			
			Search for a route matching the specified pathname and method.
				
				 public 
				
				
				filter( callable $filter )
				
				: ICanBoogie\Routing\RouteCollection
			
			Returns a new collection with filtered routes.
Magic methods summary
				
				 public 
				
				
				any( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			any(string $pattern, $controller, array $options=[]) Add a route for any HTTP method.
				
				 public 
				
				
				connect( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			connect(string $pattern, $controller, array $options=[]) Add a route for the HTTP method CONNECT.
				
				 public 
				
				
				delete( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			delete(string $pattern, $controller, array $options=[]) Add a route for the HTTP method DELETE.
				
				 public 
				
				
				get( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			get(string $pattern, $controller, array $options=[]) Add a route for the HTTP method GET.
				
				 public 
				
				
				head( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			head(string $pattern, $controller, array $options=[]) Add a route for the HTTP method HEAD.
				
				 public 
				
				
				options( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			options(string $pattern, $controller, array $options=[]) Add a route for the HTTP method OPTIONS.
				
				 public 
				
				
				post( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			post(string $pattern, $controller, array $options=[]) Add a route for the HTTP method POST.
				
				 public 
				
				
				put( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			put(string $pattern, $controller, array $options=[]) Add a route for the HTTP method PUT.
				
				 public 
				
				
				patch( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			patch(string $pattern, $controller, array $options=[]) Add a route for the HTTP method PATCH
				
				 public 
				
				
				trace( void )
				
				: ICanBoogie\Routing\RouteCollection
			
			trace(string $pattern, $controller, array $options=[]) Add a route for the HTTP method TRACE.