TranslatorFacade::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * TranslatorFacade
5
 */
6
namespace Hokan22\LaravelTranslator;
7
8
use Illuminate\Support\Facades\Facade;
9
10
/**
11
 * Class TranslatorFacade
12
 *
13
 * @method static string    getConfigValue($key)
14
 * @method static string    translate($identifier , $parameters = null, $locale = '')
15
 * @method static void      setLocale($key)
16
 * @method static void      addMissingIdentifier($identifier, $parameters, $group)
17
 * @method static boolean   hasIdentifier($identifier)
18
 * @method static string    validateLocale($locale)
19
 * @method static string    getAllTranslations($locale, $group)
20
 *
21
 * @package  Hokan22\LaravelTranslator
22
 * @author   Alexander Viertel <[email protected]>
23
 * @license  http://opensource.org/licenses/MIT MIT
24
 */
25
class TranslatorFacade extends Facade
26
{
27
    /**
28
     * Get the registered name of the component.
29
     *
30
     * @return string
31
     */
32
    protected static function getFacadeAccessor() {
33
        return 'Translator';
34
    }
35
}
36