Editor PHP 2.4.0

FixerOption
in package
implements FixerOptionInterface

FinalYes

Table of Contents

Interfaces

FixerOptionInterface

Methods

__construct()  : mixed
getAllowedTypes()  : null|array<int, string>
getAllowedValues()  : null|array<int, null|callable(mixed): bool|scalar>
getDefault()  : mixed
getDescription()  : string
getName()  : string
getNormalizer()  : Closure|null
hasDefault()  : bool

Methods

__construct()

public __construct(string $name, string $description[, bool $isRequired = true ][, mixed $default = null ][, null|array<int, string> $allowedTypes = null ][, null|array<int, null|callable(mixed): bool|scalar> $allowedValues = null ][, Closure|null $normalizer = null ]) : mixed
Parameters
$name : string
$description : string
$isRequired : bool = true
$default : mixed = null
$allowedTypes : null|array<int, string> = null
$allowedValues : null|array<int, null|callable(mixed): bool|scalar> = null
$normalizer : Closure|null = null

getAllowedTypes()

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

getAllowedValues()

public getAllowedValues() : null|array<int, null|callable(mixed): bool|scalar>
Return values
null|array<int, null|callable(mixed): bool|scalar>

getDescription()

public getDescription() : string
Return values
string

getName()

public getName() : string
Return values
string

getNormalizer()

public getNormalizer() : Closure|null
Return values
Closure|null

hasDefault()

public hasDefault() : bool
Return values
bool

        
On this page

Search results