Source of file PostEvent.php
Size: 1,316 Bytes - Last Modified: 2014-03-12T23:21:18+01:00
/home/theseer/Downloads/ZendFramework-2.3.0/library/Zend/Cache/Storage/PostEvent.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 | <?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Zend\Cache\Storage; use ArrayObject; class PostEvent extends Event { /** * The result/return value * * @var mixed */ protected $result; /** * Constructor * * Accept a target and its parameters. * * @param string $name * @param StorageInterface $storage * @param ArrayObject $params * @param mixed $result */ public function __construct($name, StorageInterface $storage, ArrayObject $params, & $result) { parent::__construct($name, $storage, $params); $this->setResult($result); } /** * Set the result/return value * * @param mixed $value * @return PostEvent */ public function setResult(& $value) { $this->result = & $value; return $this; } /** * Get the result/return value * * @return mixed */ public function & getResult() { return $this->result; } } |