1 | <?php |
||
12 | class FlystemProvider implements DefinitionProviderInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var DiskResolverCollection |
||
16 | */ |
||
17 | private $collection; |
||
18 | |||
19 | /** |
||
20 | * @param DiskResolverCollection $collection |
||
21 | */ |
||
22 | 3 | public function __construct(DiskResolverCollection $collection) |
|
26 | |||
27 | /** |
||
28 | * Returns the definition to register in the container. |
||
29 | * |
||
30 | * Definitions must be indexed by their entry ID. For example: |
||
31 | * |
||
32 | * return [ |
||
33 | * 'logger' => ... |
||
34 | * 'mailer' => ... |
||
35 | * ]; |
||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | public function getDefinitions() |
||
58 | } |
||
59 |