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->app->singleton(
18            \Apie\Export\ExcelExport::class,
19            function ($app) {
20                return new \Apie\Export\ExcelExport(
21                
22                );
23            }
24        );
25        \Apie\ServiceProviderGenerator\TagMap::register(
26            $this->app,
27            \Apie\Export\ExcelExport::class,
28            array(
29              0 =>
30              array(
31                'name' => 'Apie\\Export\\ExportInterface',
32              ),
33            )
34        );
35        $this->app->tag([\Apie\Export\ExcelExport::class], \Apie\Export\ExportInterface::class);
36        $this->app->singleton(
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->app->singleton(
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->app->singleton(
75            \Apie\Export\ChainedExport::class,
76            function ($app) {
77                return new \Apie\Export\ChainedExport(
78                    $this->getTaggedServicesIterator(\Apie\Export\ExportInterface::class)
79                );
80            }
81        );
82        \Apie\ServiceProviderGenerator\TagMap::register(
83            $this->app,
84            \Apie\Export\ChainedExport::class,
85            array(
86              0 =>
87              array(
88                'name' => 'apie.context',
89              ),
90            )
91        );
92        $this->app->tag([\Apie\Export\ChainedExport::class], 'apie.context');
93        $this->app->bind(\Apie\Export\ExportInterface::class, \Apie\Export\ChainedExport::class);
94        
95        $this->app->singleton(
96            \Apie\Export\EntityExport::class,
97            function ($app) {
98                return new \Apie\Export\EntityExport(
99                    $app->make(\Apie\HtmlBuilders\Columns\ColumnSelector::class),
100                    $app->make(\Apie\Export\ExportInterface::class),
101                    $app->make(\Apie\Serializer\Serializer::class)
102                );
103            }
104        );
105        \Apie\ServiceProviderGenerator\TagMap::register(
106            $this->app,
107            \Apie\Export\EntityExport::class,
108            array(
109              0 =>
110              array(
111                'name' => 'apie.context',
112              ),
113            )
114        );
115        $this->app->tag([\Apie\Export\EntityExport::class], 'apie.context');
116        
117    }
118}