1: <?php
2:
3: /**
4: * Jyxo PHP Library
5: *
6: * LICENSE
7: *
8: * This source file is subject to the new BSD license that is bundled
9: * with this package in the file license.txt.
10: * It is also available through the world-wide-web at this URL:
11: * https://github.com/jyxo/php/blob/master/license.txt
12: */
13:
14: /**
15: * Object which can be converted to an array.
16: *
17: * @category Jyxo
18: * @package Jyxo_Spl
19: * @copyright Copyright (c) 2005-2011 Jyxo, s.r.o.
20: * @license https://github.com/jyxo/php/blob/master/license.txt
21: * @author Jakub Tománek
22: */
23: interface Jyxo_Spl_ArrayCopy
24: {
25: /**
26: * Converts an object to an array.
27: *
28: * @return array
29: */
30: public function toArray();
31: }
32: