Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
ExportServiceProvider
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\Export;
3
4use Apie\ServiceProviderGenerator\UseGeneratedMethods;
5use Illuminate\Support\ServiceProvider;
6
7/**
8 * This file is generated with apie/service-provider-generator from file: export.yaml
9 * @codeCoverageIgnore
10 */
11class ExportServiceProvider extends ServiceProvider
12{
13    use UseGeneratedMethods;
14
15    public function register()
16    {
17        $this->registerSingleton(
18            \Apie\Export\XlsxExport::class,
19            function ($app) {
20                return new \Apie\Export\XlsxExport(
21                
22                );
23            }
24        );
25        \Apie\ServiceProviderGenerator\TagMap::register(
26            $this->app,
27            \Apie\Export\XlsxExport::class,
28            array(
29              0 =>
30              array(
31                'name' => 'Apie\\Export\\ExportInterface',
32              ),
33            )
34        );
35        $this->app->tag([\Apie\Export\XlsxExport::class], \Apie\Export\ExportInterface::class);
36        $this->registerSingleton(
37            \Apie\Export\CsvExport::class,
38            function ($app) {
39                return new \Apie\Export\CsvExport(
40                
41                );
42            }
43        );
44        \Apie\ServiceProviderGenerator\TagMap::register(
45            $this->app,
46            \Apie\Export\CsvExport::class,
47            array(
48              0 =>
49              array(
50                'name' => 'Apie\\Export\\ExportInterface',
51              ),
52            )
53        );
54        $this->app->tag([\Apie\Export\CsvExport::class], \Apie\Export\ExportInterface::class);
55        $this->registerSingleton(
56            \Apie\Export\ZippedCsvExport::class,
57            function ($app) {
58                return new \Apie\Export\ZippedCsvExport(
59                
60                );
61            }
62        );
63        \Apie\ServiceProviderGenerator\TagMap::register(
64            $this->app,
65            \Apie\Export\ZippedCsvExport::class,
66            array(
67              0 =>
68              array(
69                'name' => 'Apie\\Export\\ExportInterface',
70              ),
71            )
72        );
73        $this->app->tag([\Apie\Export\ZippedCsvExport::class], \Apie\Export\ExportInterface::class);
74        $this->registerSingleton(
75            \Apie\Export\OdsExport::class,
76            function ($app) {
77                return new \Apie\Export\OdsExport(
78                
79                );
80            }
81        );
82        \Apie\ServiceProviderGenerator\TagMap::register(
83            $this->app,
84            \Apie\Export\OdsExport::class,
85            array(
86              0 =>
87              array(
88                'name' => 'Apie\\Export\\ExportInterface',
89              ),
90            )
91        );
92        $this->app->tag([\Apie\Export\OdsExport::class], \Apie\Export\ExportInterface::class);
93        $this->registerSingleton(
94            \Apie\Export\ChainedExport::class,
95            function ($app) {
96                return new \Apie\Export\ChainedExport(
97                    $this->getTaggedServicesIterator(\Apie\Export\ExportInterface::class)
98                );
99            }
100        );
101        \Apie\ServiceProviderGenerator\TagMap::register(
102            $this->app,
103            \Apie\Export\ChainedExport::class,
104            array(
105              0 =>
106              array(
107                'name' => 'apie.context',
108              ),
109            )
110        );
111        $this->app->tag([\Apie\Export\ChainedExport::class], 'apie.context');
112        $this->app->bind(\Apie\Export\ExportInterface::class, \Apie\Export\ChainedExport::class);
113        
114        $this->registerSingleton(
115            \Apie\Export\EntityExport::class,
116            function ($app) {
117                return new \Apie\Export\EntityExport(
118                    $app->make(\Apie\HtmlBuilders\Columns\ColumnSelector::class),
119                    $app->make(\Apie\Export\ExportInterface::class),
120                    $app->make(\Apie\Serializer\Serializer::class)
121                );
122            }
123        );
124        \Apie\ServiceProviderGenerator\TagMap::register(
125            $this->app,
126            \Apie\Export\EntityExport::class,
127            array(
128              0 =>
129              array(
130                'name' => 'apie.context',
131              ),
132            )
133        );
134        $this->app->tag([\Apie\Export\EntityExport::class], 'apie.context');
135        
136    }
137}