Created
June 5, 2013 01:04
-
-
Save eminetto/5710903 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Api\PostProcessor; | |
/** | |
* Classe abstrata usada pelos pós-processadores | |
* | |
* @category Api | |
* @package PostProcessor | |
* @author Elton Minetto<eminetto@coderockr.com> | |
*/ | |
abstract class AbstractPostProcessor | |
{ | |
/** | |
* @var array|null | |
*/ | |
protected $_vars = null; | |
/** | |
* @var null|\Zend\Http\Response | |
*/ | |
protected $_response = null; | |
/** | |
* @return null|\Zend\Http\Response | |
*/ | |
public function getResponse() | |
{ | |
return $this->_response; | |
} | |
/* | |
* @param \Zend\Http\Response $response | |
*/ | |
public function setResponse(\Zend\Http\Response $response) | |
{ | |
$this->_response = $response; | |
} | |
/** | |
* @param $vars | |
*/ | |
public function setVars($vars) | |
{ | |
$this->_vars = $vars; | |
} | |
/** | |
* @abstract | |
*/ | |
abstract public function process(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment