Documentation

BehaviorOption
in package

Table of Contents

ALL  = 2
EXCEPTIONS  = 1
NONE  = 0
fromConfig()  : int
Reads a configured value: integers like "1" are accepted, anything unrecognised shows no errors.
isValidOption()  : bool

Constants

Methods

fromConfig()

Reads a configured value: integers like "1" are accepted, anything unrecognised shows no errors.

public static fromConfig(mixed $value) : int
Parameters
$value : mixed
Return values
int —

isValidOption()

public static isValidOption(mixed $option) : bool
Parameters
$option : mixed
Return values
bool —

Search results