phpDocumentor

Option
in package
implements OptionInterface, JsonSerializable

Class Option

Interfaces, Classes and Traits

OptionInterface
Interface OptionInterface
JsonSerializable

Table of Contents

$group  : string
$name  : string
$type  : string|null
$value  : mixed
__construct()  : mixed
Option constructor.
group()  : string
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
name()  : string
type()  : string|null
value()  : mixed

Properties

$type

protected string|null $type

Methods

__construct()

Option constructor.

public __construct(string $name, string $group, string|null $type,  $value) : mixed
Parameters
$name : string
$group : string
$type : string|null
$value :
Return values
mixed

group()

public group() : string
Return values
string

name()

public name() : string
Return values
string

type()

public type() : string|null
Return values
string|null

value()

public value() : mixed
Return values
mixed

Search results