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 / Serializer / Adapter / AdapterInterface.php
blob3f3434117abda7de2724b0f32b1df675201f3c13
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\Serializer\Adapter;
12 interface AdapterInterface
14 /**
15 * Generates a storable representation of a value.
17 * @param mixed $value Data to serialize
18 * @return string
19 * @throws \Zend\Serializer\Exception\ExceptionInterface
21 public function serialize($value);
23 /**
24 * Creates a PHP value from a stored representation.
26 * @param string $serialized Serialized string
27 * @return mixed
28 * @throws \Zend\Serializer\Exception\ExceptionInterface
30 public function unserialize($serialized);