Guides

Node

Table of Contents

Methods

getClasses()  : array<string|int, string>
getClassesString()  : string
getOptions()  : array<string, scalar|null>
getValue()  : mixed
hasOption()  : bool
setClasses()  : void
setValue()  : void
withKeepExistingOptions()  : Node
withOptions()  : Node

Methods

getClasses()

public getClasses() : array<string|int, string>
Return values
array<string|int, string>

getClassesString()

public getClassesString() : string
Return values
string

getOptions()

public getOptions() : array<string, scalar|null>
Return values
array<string, scalar|null>

getValue()

public getValue() : mixed

hasOption()

public hasOption(string $name) : bool
Parameters
$name : string
Return values
bool

setClasses()

public setClasses(array<string|int, string> $classes) : void
Parameters
$classes : array<string|int, string>

setValue()

public setValue(mixed $value) : void
Parameters
$value : mixed

withKeepExistingOptions()

public withKeepExistingOptions(array<string, scalar|null> $options) : Node
Parameters
$options : array<string, scalar|null>
Return values
Node

withOptions()

public withOptions(array<string, scalar|null> $options) : Node
Parameters
$options : array<string, scalar|null>
Return values
Node

        
On this page

Search results