Passed
Push — feature/data-hook-error-toast ( 5113d3...e81a53 )
by Tristan
05:39 queued 10s
created

InternetExplorerComposer::compose()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace App\Http\ViewComposers;
4
5
use Illuminate\View\View;
6
use Illuminate\Support\Facades\Lang;
7
8
class InternetExplorerComposer
9
{
10
    /**
11
     * Bind data to the view.
12
     *
13
     * @param  View  $view
14
     * @return void
15
     */
16
    public function compose(View $view)
17
    {
18
        $view->with('internet_explorer', Lang::get('common/internet_explorer'));
19
    }
20
}
21