1: <?php
2:
3: namespace Chromabits\Nucleus\Data\Interfaces;
4:
5: /**
6: * Interface Mappable
7: *
8: * An object that can be converted or represented as a MapInterface.
9: *
10: * @author Eduardo Trujillo <ed@chromabits.com>
11: * @package Chromabits\Nucleus\Data\Interfaces
12: */
13: interface MappableInterface
14: {
15: /**
16: * @return MapInterface
17: */
18: public function toMap();
19: }
20: