PHP code example of org_heigl / psr7wrapper
1. Go to this page and download the library: Download org_heigl/psr7wrapper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
org_heigl / psr7wrapper example snippets
use Org_Heigl\Psr7Wrapper\Wrapper\Zf1\RequestWrapper;
use Org_Heigl\Psr7Wrapper\Wrapper\Zf1\ResponseWrapper;
class DemoController Extends Zend_Controller_Abstract
{
public function testAction()
{
$request = new RequestWrapper($this->getRequest());
$request = new ResponseWrapper($this->getResponse());
}
}