IntCaster extends Caster
FinalYes
Table of Contents
Methods
- __construct() : mixed
- cast() : mixed
- isCollection() : bool
- markAsCollection() : Caster
- nullable() : Caster
Methods
__construct()
public
__construct([bool $isCollection = false ]) : mixed
Parameters
- $isCollection : bool = false
cast()
public
cast(mixed $value) : mixed
Parameters
- $value : mixed
isCollection()
public
isCollection() : bool
Return values
boolmarkAsCollection()
public
markAsCollection([bool $isCollection = true ]) : Caster
Parameters
- $isCollection : bool = true
Return values
Casternullable()
public
nullable([bool $isNullable = true ]) : Caster
Parameters
- $isNullable : bool = true