public function param($param, $handler)
    {
        $param              = new RouteParam($param, $handler);
        $this->middleware[] = $param;
    }
public function param($param, $handler)
    {
        $param              = new RouteParam($param, $handler);
        $this->middleware[] = $param;
    }
public function param ( $ param , $ handler ) { $ param = new RouteParam ( $ param , $ handler ) ; $ this -> middleware [ ] = $ param ; }
Adds param handlers to a queue. The queue is processed at invocation by RelayPHP.

@param string   $param
@param callable $handler
Adds param handlers to a queue . The queue is processed at invocation by RelayPHP .