Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Core/FieldType/Null/Value.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\FieldType\Null;
8
9 use eZ\Publish\Core\FieldType\Value as BaseValue;
10
14 class Value extends BaseValue
15 {
21 public $value = null;
22
28 public function __construct($value = null)
29 {
30 $this->value = $value;
31 }
32
36 public function __toString()
37 {
38 return (string)$this->value;
39 }
40 }
eZ\Publish\Core\FieldType\Null\Value
Value for Null field type.
Definition: Core/FieldType/Null/Value.php:15
eZ\Publish\Core\FieldType\Null\Value\__toString
__toString()
Definition: Core/FieldType/Null/Value.php:36
eZ\Publish\Core\FieldType\Null\Value\__construct
__construct($value=null)
Construct a new Value object and initialize with $value.
Definition: Core/FieldType/Null/Value.php:28
eZ\Publish\Core\FieldType\Null\Value\$value
$value
Definition: Core/FieldType/Null/Value.php:21
eZ\Publish\Core\FieldType\Value
Abstract class for all field value classes.
Definition: Core/FieldType/Value.php:17
eZ\Publish\Core\FieldType\Null
Definition: Core/FieldType/Null/Type.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.