Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (30 sloc) 0.911 kB
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Mvc
*/
namespace ZendTest\Mvc\Controller\TestAsset;
use Zend\Http\Request as HttpRequest;
/**
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Request extends HttpRequest
{
/**
* Override the method setter, to allow arbitrary HTTP methods
*
* @param string $method
* @return Request
*/
public function setMethod($method)
{
$method = strtoupper($method);
$this->method = $method;
return $this;
}
}
Jump to Line
Something went wrong with that request. Please try again.