1: <?php
2:
3: /**
4: * This file is part of the Minion package.
5: * For the full copyright and license information, please view the LICENSE
6: * file that was distributed with this source code.
7: *
8: * @license MIT License
9: */
10:
11: namespace Minion\Service;
12:
13: /**
14: * Interface ServiceProviderInterface
15: *
16: * @package Minion
17: * @author Damian SzczerbiĆski <dszczer@gmail.com>
18: */
19: interface ServiceProviderInterface extends \Silex\ServiceProviderInterface
20: {
21: /**
22: * Set service configuration object into provider.
23: *
24: * @param ServiceConfig $service
25: *
26: * @return void
27: */
28: public function setServiceConfig(ServiceConfig $service);
29:
30: /**
31: * Get service configuration.
32: *
33: * @return ServiceConfig
34: */
35: public function getServiceConfig();
36: }