Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
CmsDropdownServiceProvider
n/a
0 / 0
n/a
0 / 0
1
n/a
0 / 0
 register
n/a
0 / 0
n/a
0 / 0
1
1<?php
2namespace Apie\CmsApiDropdownOption;
3
4use Apie\ServiceProviderGenerator\UseGeneratedMethods;
5use Illuminate\Support\ServiceProvider;
6
7/**
8 * This file is generated with apie/service-provider-generator from file: cms_dropdown.yaml
9 * @codeCoverageIgnore
10 */
11class CmsDropdownServiceProvider extends ServiceProvider
12{
13    use UseGeneratedMethods;
14
15    public function register()
16    {
17        $this->app->singleton(
18            \Apie\CmsApiDropdownOption\Controllers\DropdownOptionController::class,
19            function ($app) {
20                return new \Apie\CmsApiDropdownOption\Controllers\DropdownOptionController(
21                    $app->make(\Apie\Core\ContextBuilders\ContextBuilderFactory::class),
22                    $app->make(\Apie\Common\ApieFacade::class),
23                    $app->make(\Apie\Serializer\EncoderHashmap::class)
24                );
25            }
26        );
27        \Apie\ServiceProviderGenerator\TagMap::register(
28            $this->app,
29            \Apie\CmsApiDropdownOption\Controllers\DropdownOptionController::class,
30            array(
31              0 => 'controller.service_arguments',
32            )
33        );
34        $this->app->tag([\Apie\CmsApiDropdownOption\Controllers\DropdownOptionController::class], 'controller.service_arguments');
35        $this->app->singleton(
36            \Apie\CmsApiDropdownOption\DropdownOptionProvider\DropdownOptionProviderInterface::class,
37            function ($app) {
38                return \Apie\CmsApiDropdownOption\DropdownOptionProvider\ChainedDropdownOptionProvider::create(
39                    $this->getTaggedServicesIterator(\Apie\CmsApiDropdownOption\DropdownOptionProvider\DropdownOptionProviderInterface::class)
40                );
41                
42            }
43        );
44        \Apie\ServiceProviderGenerator\TagMap::register(
45            $this->app,
46            \Apie\CmsApiDropdownOption\DropdownOptionProvider\DropdownOptionProviderInterface::class,
47            array(
48              0 => 'apie.context',
49            )
50        );
51        $this->app->tag([\Apie\CmsApiDropdownOption\DropdownOptionProvider\DropdownOptionProviderInterface::class], 'apie.context');
52        $this->app->singleton(
53            \Apie\CmsApiDropdownOption\DropdownOptionProvider\EntityIdentifierOptionProvider::class,
54            function ($app) {
55                return new \Apie\CmsApiDropdownOption\DropdownOptionProvider\EntityIdentifierOptionProvider(
56                    $app->make(\Apie\Core\BoundedContext\BoundedContextHashmap::class),
57                    $app->make(\Apie\Core\Datalayers\ApieDatalayer::class)
58                );
59            }
60        );
61        \Apie\ServiceProviderGenerator\TagMap::register(
62            $this->app,
63            \Apie\CmsApiDropdownOption\DropdownOptionProvider\EntityIdentifierOptionProvider::class,
64            array(
65              0 => 'Apie\\CmsApiDropdownOption\\DropdownOptionProvider\\DropdownOptionProviderInterface',
66            )
67        );
68        $this->app->tag([\Apie\CmsApiDropdownOption\DropdownOptionProvider\EntityIdentifierOptionProvider::class], \Apie\CmsApiDropdownOption\DropdownOptionProvider\DropdownOptionProviderInterface::class);
69        
70    }
71}