1: <?php
2:
3: namespace Chromabits\Nucleus\Foundation\Interfaces;
4:
5: /**
6: * Interface FillableInterface
7: *
8: * Represents an object that is capable of restoring its state or properties
9: * from an input array.
10: *
11: * @author Eduardo Trujillo <ed@chromabits.com>
12: * @package Chromabits\Nucleus\Foundation\Interfaces
13: */
14: interface FillableInterface
15: {
16: /**
17: * Fill properties in this object using an input array.
18: *
19: * @param array $input
20: */
21: public function fill(array $input);
22: }