Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1666 lars 1
<?php
2
 
3
namespace {{ namespace }};
4
 
5
use Illuminate\View\Component;
6
 
7
class {{ class }} extends Component
8
{
9
    /**
10
     * Create a new component instance.
11
     *
12
     * @return void
13
     */
14
    public function __construct()
15
    {
16
        //
17
    }
18
 
19
    /**
20
     * Get the view / contents that represent the component.
21
     *
22
     * @return \Illuminate\Contracts\View\View|\Closure|string
23
     */
24
    public function render()
25
    {
26
        return {{ view }};
27
    }
28
}