class Literal

PHP literal value.

Methods

static Literal
new(string $class, array $args = [])

Creates a literal representing the creation of an object using the new operator.

__construct(string $value, array|null $args = null)

No description

string
__toString()

No description

string
formatWith(Dumper $dumper)

No description

Details

at line 21
static Literal new(string $class, array $args = [])

Creates a literal representing the creation of an object using the new operator.

Parameters

string $class
array $args

Return Value

Literal

at line 27
__construct(string $value, array|null $args = null)

No description

Parameters

string $value
array|null $args

at line 35
string __toString()

No description

Return Value

string

at line 42
string formatWith(Dumper $dumper)

internal  
 

No description

Parameters

Dumper $dumper

Return Value

string