class ConstStub extends Stub

Represents a PHP constant and its value.

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()

No description

from Stub
unserialize($serialized)

No description

from Stub
__construct(string $name, $value)

No description

__toString()

No description

Details

in Stub at line line 45
serialize()

in Stub at line line 53
unserialize($serialized)

Parameters

$serialized

at line line 23
__construct(string $name, $value)

Parameters

string $name
$value

at line line 29
__toString()