### Methods

## Retrieve a single query parameter by name

    getQueryParam(string $name, mixed $default) : mixed

If not present, returns the $default value provided.

### Parameters

#### $name

`string`

#### $default

`mixed`

### Returns

`mixed`

## getQueryParams()

    getQueryParams() : null | \Zend\Stdlib\Parameters

### Returns

`null``\Zend\Stdlib\Parameters`

## getRouteMatch()

    getRouteMatch() : null | \Zend\Mvc\Router\RouteMatch

### Returns

`null``\Zend\Mvc\Router\RouteMatch`

## Retrieve a single route match parameter by name.

    getRouteParam(string $name, mixed $default) : mixed

If not present, returns the $default value provided.

### Parameters

#### $name

`string`

#### $default

`mixed`

### Returns

`mixed`

## setQueryParams()

    setQueryParams(\Zend\Stdlib\Parameters $params) : \PhlyRestfully\ResourceEvent

fluent | This method is part of a fluent interface and will return the same instance

### Parameters

#### $params

`\Zend\Stdlib\Parameters`

### Returns

`\PhlyRestfully\ResourceEvent`

## setRouteMatch()

    setRouteMatch(\Zend\Mvc\Router\RouteMatch $matches) : \PhlyRestfully\ResourceEvent

fluent | This method is part of a fluent interface and will return the same instance

### Parameters

#### $matches

`\Zend\Mvc\Router\RouteMatch`

### Returns

`\PhlyRestfully\ResourceEvent`