Test Failed
Pull Request — master (#3)
by
unknown
10:39
created

CarbonStore::store()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace CodeZero\Localizer\Stores;
4
5
use Illuminate\Support\Carbon;
6
7
class CarbonStore implements Store
8
{
9
    /**
10
     * Store the given locale.
11
     *
12
     * @param string $locale
13
     *
14
     * @return void
15
     */
16
    public function store($locale)
17
    {
18
        Carbon::setLocale($locale);
19
    }
20
}
21