public function filter($name, $callback)
	{
		$this->events->listen('router.filter: '.$name, $this->parseFilter($callback));
	}
public function filter($name, $callback)
	{
		$this->events->listen('router.filter: '.$name, $this->parseFilter($callback));
	}
public function filter ( $ name , $ callback ) { $ this -> events -> listen ( 'router.filter: ' . $ name , $ this -> parseFilter ( $ callback ) ) ; }
Register a new filter with the router.

@param  string  $name
@param  mixed  $callback
@return void
Register a new filter with the router .