1: | <?php |
2: | |
3: | namespace Teto\Object; |
4: | |
5: | /** |
6: | * Interface for array compatible object |
7: | * |
8: | * @author USAMI Kenta <tadsan@zonu.me> |
9: | * @copyright 2016 Baguette HQ |
10: | * @license http://www.apache.org/licenses/LICENSE-2.0 |
11: | */ |
12: | interface ToArrayInterface |
13: | { |
14: | /** |
15: | * @return array |
16: | */ |
17: | public function toArray(); |
18: | } |
19: |