Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Cache / Storage / PostEvent.php
blob9800e0a24ebe3c0534d43c4b7bac07da2c2e5258
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Cache\Storage;
12 use ArrayObject;
14 class PostEvent extends Event
16 /**
17 * The result/return value
19 * @var mixed
21 protected $result;
23 /**
24 * Constructor
26 * Accept a target and its parameters.
28 * @param string $name
29 * @param StorageInterface $storage
30 * @param ArrayObject $params
31 * @param mixed $result
33 public function __construct($name, StorageInterface $storage, ArrayObject $params, & $result)
35 parent::__construct($name, $storage, $params);
36 $this->setResult($result);
39 /**
40 * Set the result/return value
42 * @param mixed $value
43 * @return PostEvent
45 public function setResult(& $value)
47 $this->result = & $value;
48 return $this;
51 /**
52 * Get the result/return value
54 * @return mixed
56 public function & getResult()
58 return $this->result;