Explore Server Side Testing SDK for PHP

CustomContextParam extends AbstractContextParam

Table of Contents

Constants

TYPE_ARRAY  = "array"
TYPE_SCALAR  = "scalar"

Properties

$NAME  : string
$TYPE  : string
$attributes  : array<string|int, ContextParamAttribute>
$name  : string
$type  : string
$value  : string

Methods

__construct()  : mixed
Constructor for custom context parameter
addAttribute()  : mixed
getAttributes()  : mixed
getName()  : mixed
getType()  : mixed
getValue()  : mixed
setName()  : mixed
setType()  : mixed
setValue()  : mixed
toArray()  : mixed

Constants

Properties

Methods

__construct()

Constructor for custom context parameter

public __construct(string $name[, string|null $value = null ][, array<string|int, mixed> $attributes = [] ]) : mixed
Parameters
$name : string

The custom parameter name

$value : string|null = null

The parameter value

$attributes : array<string|int, mixed> = []

Additional attributes


        
On this page

Search results