Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
SerializerServiceProvider
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\Serializer;
3
4use Apie\ServiceProviderGenerator\UseGeneratedMethods;
5use Illuminate\Support\ServiceProvider;
6
7/**
8 * This file is generated with apie/service-provider-generator from file: serializer.yaml
9 * @codeCoverageIgnore
10 */
11class SerializerServiceProvider extends ServiceProvider
12{
13    use UseGeneratedMethods;
14
15    public function register()
16    {
17        $this->app->singleton(
18            \Apie\Serializer\Serializer::class,
19            function ($app) {
20                return \Apie\Serializer\Serializer::create(
21                    $this->getTaggedServicesIterator(\Apie\Serializer\Serializer::class)
22                );
23                
24            }
25        );
26        \Apie\ServiceProviderGenerator\TagMap::register(
27            $this->app,
28            \Apie\Serializer\Serializer::class,
29            array(
30              0 =>
31              array(
32                'name' => 'apie.context',
33              ),
34            )
35        );
36        $this->app->tag([\Apie\Serializer\Serializer::class], 'apie.context');
37        $this->app->singleton(
38            \Apie\Serializer\EncoderHashmap::class,
39            function ($app) {
40                return \Apie\Serializer\EncoderHashmap::create(
41                
42                );
43                
44            }
45        );
46        $this->app->singleton(
47            \Apie\Serializer\DecoderHashmap::class,
48            function ($app) {
49                return \Apie\Serializer\DecoderHashmap::create(
50                
51                );
52                
53            }
54        );
55        
56    }
57}