Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Contracts\Translation;
4
 
5
interface Loader
6
{
7
    /**
8
     * Load the messages for the given locale.
9
     *
10
     * @param  string  $locale
11
     * @param  string  $group
12
     * @param  string|null  $namespace
13
     * @return array
14
     */
15
    public function load($locale, $group, $namespace = null);
16
 
17
    /**
18
     * Add a new namespace to the loader.
19
     *
20
     * @param  string  $namespace
21
     * @param  string  $hint
22
     * @return void
23
     */
24
    public function addNamespace($namespace, $hint);
25
 
26
    /**
27
     * Add a new JSON path to the loader.
28
     *
29
     * @param  string  $path
30
     * @return void
31
     */
32
    public function addJsonPath($path);
33
 
34
    /**
35
     * Get an array of all the registered namespaces.
36
     *
37
     * @return array
38
     */
39
    public function namespaces();
40
}