W3cubDocs

/Symfony 4.1

CutStub

class CutStub extends Stub

Represents the main properties of a PHP variable, pre-casted by a caster.

Constants

TYPE_REF
TYPE_STRING
TYPE_ARRAY
TYPE_OBJECT
TYPE_RESOURCE
STRING_BINARY
STRING_UTF8
ARRAY_ASSOC
ARRAY_INDEXED

Properties

$type from Stub
$class from Stub
$value from Stub
$cut from Stub
$handle from Stub
$refCount from Stub
$position from Stub
$attr from Stub

Methods

serialize() from Stub
unserialize($serialized) from Stub
__construct($value)

Details

serialize()

unserialize($serialized)

Parameters

$serialized

__construct($value)

Parameters

$value

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/VarDumper/Caster/CutStub.html