public function routeTo(string $method, string $path, ...$args)
    {
        $event = strtoupper($method).' '.$path;

        $this
            ->getRouter()
            ->getEventHandler()
            ->trigger($event, ...$args);

        return $this;
    }
public function routeTo(string $method, string $path, ...$args)
    {
        $event = strtoupper($method).' '.$path;

        $this
            ->getRouter()
            ->getEventHandler()
            ->trigger($event, ...$args);

        return $this;
    }
public function routeTo ( string $ method , string $ path , ... $ args ) { $ event = strtoupper ( $ method ) . ' ' . $ path ; $ this -> getRouter ( ) -> getEventHandler ( ) -> trigger ( $ event , ... $ args ) ; return $ this ; }
Manually trigger a route

@param *string $method
@param *string $path
@param mixed   $args

@return RouterTrait
Manually trigger a route