Editor PHP 2.4.0

FixerOptionBuilder
in package

FinalYes

Table of Contents

Methods

__construct()  : mixed
getOption()  : FixerOptionInterface
setAllowedTypes()  : $this
setAllowedValues()  : $this
setDefault()  : $this
setDeprecationMessage()  : $this
setNormalizer()  : $this

Methods

__construct()

public __construct(string $name, string $description) : mixed
Parameters
$name : string
$description : string

setAllowedTypes()

public setAllowedTypes(array<int, string> $allowedTypes) : $this
Parameters
$allowedTypes : array<int, string>
Return values
$this

setAllowedValues()

public setAllowedValues(array<int, null|callable(mixed): bool|scalar> $allowedValues) : $this
Parameters
$allowedValues : array<int, null|callable(mixed): bool|scalar>
Return values
$this

setDefault()

public setDefault(mixed $default) : $this
Parameters
$default : mixed
Return values
$this

setDeprecationMessage()

public setDeprecationMessage(string|null $deprecationMessage) : $this
Parameters
$deprecationMessage : string|null
Return values
$this

setNormalizer()

public setNormalizer(Closure $normalizer) : $this
Parameters
$normalizer : Closure
Return values
$this

        
On this page

Search results