Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
5 / 5
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
Logo
100.00% covered (success)
100.00%
5 / 5
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
5 / 5
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\HtmlBuilders\Components\Layout;
3
4use Apie\HtmlBuilders\Components\BaseComponent;
5use Apie\HtmlBuilders\Configuration\CurrentConfiguration;
6
7class Logo extends BaseComponent
8{
9    public function __construct(CurrentConfiguration $currentConfiguration)
10    {
11        parent::__construct(
12            [
13                'url' => $currentConfiguration->getContextUrl('/'),
14            ]
15        );
16    }
17}