1 <?php
2 /**
3 * Part of the Joomla Framework DI Package
4 *
5 * @copyright Copyright (C) 2013 - 2016 Open Source Matters, Inc. All rights reserved.
6 * @license GNU General Public License version 2 or later; see LICENSE
7 */
8
9 namespace Joomla\DI;
10
11 /**
12 * Defines the interface for a Service Provider.
13 *
14 * @since 1.0
15 */
16 interface ServiceProviderInterface
17 {
18 /**
19 * Registers the service provider with a DI container.
20 *
21 * @param Container $container The DI container.
22 *
23 * @return void
24 *
25 * @since 1.0
26 */
27 public function register(Container $container);
28 }
29