Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
TwigTemplateLayoutRendererServiceProvider
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\TwigTemplateLayoutRenderer;
3
4use Apie\ServiceProviderGenerator\UseGeneratedMethods;
5use Illuminate\Support\ServiceProvider;
6
7/**
8 * This file is generated with apie/service-provider-generator from file: twig_template_layout_renderer.yaml
9 * @codeCoverageIgnore
10 */
11class TwigTemplateLayoutRendererServiceProvider extends ServiceProvider
12{
13    use UseGeneratedMethods;
14
15    public function register()
16    {
17        $this->app->singleton(
18            \Apie\TwigTemplateLayoutRenderer\Command\CreateCustomLayoutRendererCommand::class,
19            function ($app) {
20                return new \Apie\TwigTemplateLayoutRenderer\Command\CreateCustomLayoutRendererCommand(
21                    $app->make(\Apie\Core\Other\FileWriterInterface::class),
22                    $app->make(\Apie\TwigTemplateLayoutRenderer\Skeleton\ClassCodeGenerator::class)
23                );
24            }
25        );
26        \Apie\ServiceProviderGenerator\TagMap::register(
27            $this->app,
28            \Apie\TwigTemplateLayoutRenderer\Command\CreateCustomLayoutRendererCommand::class,
29            array(
30              0 =>
31              array(
32                'name' => 'console.command',
33              ),
34            )
35        );
36        $this->app->tag([\Apie\TwigTemplateLayoutRenderer\Command\CreateCustomLayoutRendererCommand::class], 'console.command');
37        $this->app->singleton(
38            \Apie\TwigTemplateLayoutRenderer\Skeleton\ClassCodeGenerator::class,
39            function ($app) {
40                return new \Apie\TwigTemplateLayoutRenderer\Skeleton\ClassCodeGenerator(
41                
42                );
43            }
44        );
45        
46    }
47}