Projekt

Obecné

Profil

Stáhnout (1.08 KB) Statistiky
| Větev: | Revize:
1
<?php
2

    
3
namespace Illuminate\View;
4

    
5
interface ViewFinderInterface
6
{
7
    /**
8
     * Hint path delimiter value.
9
     *
10
     * @var string
11
     */
12
    const HINT_PATH_DELIMITER = '::';
13

    
14
    /**
15
     * Get the fully qualified location of the view.
16
     *
17
     * @param  string  $view
18
     * @return string
19
     */
20
    public function find($view);
21

    
22
    /**
23
     * Add a location to the finder.
24
     *
25
     * @param  string  $location
26
     * @return void
27
     */
28
    public function addLocation($location);
29

    
30
    /**
31
     * Add a namespace hint to the finder.
32
     *
33
     * @param  string  $namespace
34
     * @param  string|array  $hints
35
     * @return void
36
     */
37
    public function addNamespace($namespace, $hints);
38

    
39
    /**
40
     * Prepend a namespace hint to the finder.
41
     *
42
     * @param  string  $namespace
43
     * @param  string|array  $hints
44
     * @return void
45
     */
46
    public function prependNamespace($namespace, $hints);
47

    
48
    /**
49
     * Add a valid view extension to the finder.
50
     *
51
     * @param  string  $extension
52
     * @return void
53
     */
54
    public function addExtension($extension);
55
}
(5-5/7)