\Symfony\Component\VarDumper\CasterClassStub

Represents a PHP class identifier.

Summary

Methods
Properties
Constants
__construct()
__toString()
wrapCallable()
$type
$class
$value
$cut
$handle
$refCount
$position
$attr
TYPE_REF
TYPE_STRING
TYPE_ARRAY
TYPE_OBJECT
TYPE_RESOURCE
STRING_BINARY
STRING_UTF8
ARRAY_ASSOC
ARRAY_INDEXED
No protected methods found
No protected properties found
N/A
No private methods found
$defaultProperties
N/A

Constants

TYPE_REF

TYPE_REF = 1

TYPE_STRING

TYPE_STRING = 2

TYPE_ARRAY

TYPE_ARRAY = 3

TYPE_OBJECT

TYPE_OBJECT = 4

TYPE_RESOURCE

TYPE_RESOURCE = 5

STRING_BINARY

STRING_BINARY = 1

STRING_UTF8

STRING_UTF8 = 2

ARRAY_ASSOC

ARRAY_ASSOC = 1

ARRAY_INDEXED

ARRAY_INDEXED = 2

Properties

$type

$type : 

Type

$class

$class : 

Type

$value

$value : 

Type

$cut

$cut : 

Type

$handle

$handle : 

Type

$refCount

$refCount : 

Type

$position

$position : 

Type

$attr

$attr : 

Type

$defaultProperties

$defaultProperties : 

Type

Methods

__construct()

__construct(string  $identifier, callable  $callable = null) 

Parameters

string $identifier

A PHP identifier, e.g. a class, method, interface, etc. name

callable $callable

The callable targeted by the identifier when it is ambiguous or not a real PHP identifier

__toString()

__toString() : string

Returns

string

wrapCallable()

wrapCallable(  $callable) 

Parameters

$callable