Locale
last analyzed

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 28
ccs 0
cts 0
cp 0
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
getKey() 0 1 ?
getPath() 0 1 ?
getTranslations() 0 1 ?
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Arcanedev\LaravelLang\Contracts\Entities;
6
7
/**
8
 * Interface  Locale
9
 *
10
 * @author    ARCANEDEV <[email protected]>
11
 */
12
interface Locale
13
{
14
    /* -----------------------------------------------------------------
15
     |  Getters & Setters
16
     | -----------------------------------------------------------------
17
     */
18
19
    /**
20
     * Get the locale key.
21
     *
22
     * @return string
23
     */
24
    public function getKey(): string;
25
26
    /**
27
     * Get the locale translations path.
28
     *
29
     * @return string
30
     */
31
    public function getPath(): string;
32
33
    /**
34
     * Get locale translations.
35
     *
36
     * @return array
37
     */
38
    public function getTranslations(): array;
39
}
40