1 | <?php |
||
59 | class ReplaceArrayValue |
||
60 | { |
||
61 | /** |
||
62 | * @var mixed value used as replacement. |
||
63 | */ |
||
64 | public $value; |
||
65 | |||
66 | |||
67 | /** |
||
68 | * Constructor. |
||
69 | * @param mixed $value value used as replacement. |
||
70 | */ |
||
71 | 1 | public function __construct($value) |
|
75 | |||
76 | /** |
||
77 | * Restores class state after using `var_export()`. |
||
78 | * |
||
79 | * @param array $state |
||
80 | * @return ReplaceArrayValue |
||
81 | * @throws InvalidConfigException when $state property does not contain `value` parameter |
||
82 | * @see var_export() |
||
83 | * @since 2.0.16 |
||
84 | */ |
||
85 | public static function __set_state($state) |
||
93 | } |
||
94 |