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\View;
4
 
5
class AppendableAttributeValue
6
{
7
    /**
8
     * The attribute value.
9
     *
10
     * @var mixed
11
     */
12
    public $value;
13
 
14
    /**
15
     * Create a new appendable attribute value.
16
     *
17
     * @param  mixed  $value
18
     * @return void
19
     */
20
    public function __construct($value)
21
    {
22
        $this->value = $value;
23
    }
24
 
25
    /**
26
     * Get the string value.
27
     *
28
     * @return string
29
     */
30
    public function __toString()
31
    {
32
        return (string) $this->value;
33
    }
34
}