TransChecker::getDefaultLocale()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Arcanedev\LaravelLang\Contracts;
6
7
/**
8
 * Interface  TransChecker
9
 *
10
 * @author    ARCANEDEV <[email protected]>
11
 */
12
interface TransChecker
13
{
14
    /* -----------------------------------------------------------------
15
     |  Getters & Setter
16
     | -----------------------------------------------------------------
17
     */
18
19
    /**
20
     * Get the default locale being used.
21
     *
22
     * @return string
23
     */
24
    public function getDefaultLocale(): string;
25
26
    /**
27
     * Get the locales to check.
28
     *
29
     * @return array
30
     */
31
    public function getLocales(): array;
32
33
    /**
34
     * Get the ignored translation attributes.
35
     *
36
     * @return array
37
     */
38
    public function getIgnoredTranslations(): array;
39
40
    /* -----------------------------------------------------------------
41
     |  Main Methods
42
     | -----------------------------------------------------------------
43
     */
44
45
    /**
46
     * Check the missing translations.
47
     *
48
     * @return array
49
     */
50
    public function check(): array;
51
}
52