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\View;
4
 
5
use Illuminate\Contracts\Support\Renderable;
6
 
7
interface View extends Renderable
8
{
9
    /**
10
     * Get the name of the view.
11
     *
12
     * @return string
13
     */
14
    public function name();
15
 
16
    /**
17
     * Add a piece of data to the view.
18
     *
19
     * @param  string|array  $key
20
     * @param  mixed  $value
21
     * @return $this
22
     */
23
    public function with($key, $value = null);
24
 
25
    /**
26
     * Get the array of view data.
27
     *
28
     * @return array
29
     */
30
    public function getData();
31
}