Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
Zeile -... Zeile 3...
-
 
3
namespace Illuminate\Support;
3
namespace Illuminate\Support;
4
 
4
 
5
use BackedEnum;
5
use Illuminate\Contracts\Support\Arrayable;
6
use Illuminate\Contracts\Support\Arrayable;
6
use Illuminate\Contracts\Support\Htmlable;
7
use Illuminate\Contracts\Support\Htmlable;
Zeile 67... Zeile 68...
67
    {
68
    {
68
        if ($data instanceof self) {
69
        if ($data instanceof self) {
69
            return $data->toHtml();
70
            return $data->toHtml();
70
        }
71
        }
Zeile -... Zeile 72...
-
 
72
 
-
 
73
        if ($data instanceof BackedEnum) {
-
 
74
            $data = $data->value;
-
 
75
        }
71
 
76
 
Zeile 72... Zeile 77...
72
        $json = $this->jsonEncode($data, $flags, $depth);
77
        $json = $this->jsonEncode($data, $flags, $depth);
73
 
78
 
74
        if (is_string($data)) {
79
        if (is_string($data)) {