public function handle( $handler = '' ) {
		if ( ! empty( $handler ) ) {
			$this->attribute( 'handler', $handler );
		}

		$this->router->addRoute( $this->router->route( $this->getAttributes() ) );
	}
public function handle( $handler = '' ) {
		if ( ! empty( $handler ) ) {
			$this->attribute( 'handler', $handler );
		}

		$this->router->addRoute( $this->router->route( $this->getAttributes() ) );
	}
public function handle ( $ handler = '' ) { if ( ! empty ( $ handler ) ) { $ this -> attribute ( 'handler' , $ handler ) ; } $ this -> router -> addRoute ( $ this -> router -> route ( $ this -> getAttributes ( ) ) ) ; }
Create a route.

@param  string|\Closure $handler
@return void
Create a route .