1: <?php
2: /**
3: * This file is part of the Autarky package.
4: *
5: * (c) Andreas Lutro <anlutro@gmail.com>
6: *
7: * For the full copyright and license information, please view the LICENSE
8: * file that was distributed with this source code.
9: */
10:
11: namespace Autarky\Providers;
12:
13: interface DependantProviderInterface extends ProviderInterface
14: {
15: /**
16: * Get the classes the provider depends on.
17: *
18: * @return string[]
19: */
20: public function getClassDependencies();
21:
22: /**
23: * Get the types the container must have bound.
24: *
25: * @return string[]
26: */
27: public function getContainerDependencies();
28:
29: /**
30: * Get the class names of other providers the provider depends on.
31: *
32: * @return string[]
33: */
34: public function getProviderDependencies();
35: }
36: