1: <?php
2:
3: /**
4: * This file is part of expect package.
5: *
6: * (c) Noritaka Horio <holy.shared.design@gmail.com>
7: *
8: * This source file is subject to the MIT license that is bundled
9: * with this source code in the file LICENSE.
10: */
11: namespace expect;
12:
13: /**
14: * Configurable
15: *
16: * @author Noritaka Horio <holy.shared.design@gmail.com>
17: * @copyright Noritaka Horio <holy.shared.design@gmail.com>
18: */
19: interface Configurable
20: {
21: /**
22: * Configure by configurator
23: *
24: * If the configurator is null, initialized with minimum configuration.
25: *
26: * @param Configurator $configurator
27: */
28: public static function configure(Configurator $configurator = null);
29: }
30: