Completed
Push — master ( f02869...8251a6 )
by Nicolas
03:31
created

LocaleComposer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A compose() 0 4 1
1
<?php namespace Modules\Core\Composers;
2
3
use Illuminate\Contracts\View\View;
4
use Illuminate\Support\Facades\App;
5
6
class LocaleComposer
7
{
8
    public function compose(View $view)
9
    {
10
        $view->with('currentLocale', App::getLocale());
11
    }
12
}
13