IntegerSanitizer
in package
implements
SanitizerInterface
FinalYes
Table of Contents
Interfaces
Methods
- __construct() : mixed
- apply() : int
- getDefault() : int
Methods
__construct()
public
__construct([int $default = 0 ]) : mixed
Parameters
- $default : int = 0
apply()
public
apply(mixed $value) : int
Parameters
- $value : mixed
Return values
intgetDefault()
public
getDefault() : int