1: <?php
2:
3: namespace Chromabits\Nucleus\Foundation\Interfaces;
4:
5: /**
6: * Interface ArrayableInterface
7: *
8: * Represents an object that can produce an array representation of itself.
9: *
10: * @author Eduardo Trujillo <ed@chromabits.com>
11: * @package Chromabits\Nucleus\Foundation\Interfaces
12: */
13: interface ArrayableInterface
14: {
15: /**
16: * Get an array representation of this object.
17: *
18: * @return array
19: */
20: public function toArray();
21: }