Documentation

MapCell
in package

FinalYes
Attributes
#[Attribute]
\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY

Table of Contents

Properties

$cast  : string|null
$column  : string|int|null
$convertEmptyStringToNull  : bool|null
$ignore  : bool
$options  : array<string|int, mixed>
$trimFieldValueBeforeCasting  : bool|null

Methods

__construct()  : mixed

Properties

$cast read-only

public string|null $cast = null

$column read-only

public string|int|null $column = null

$convertEmptyStringToNull read-only

public bool|null $convertEmptyStringToNull = null

$ignore read-only

public bool $ignore = false

$options read-only

public array<string|int, mixed> $options = []

$trimFieldValueBeforeCasting read-only

public bool|null $trimFieldValueBeforeCasting = false

Methods

__construct()

public __construct([string|int|null $column = null ][, class-string|string|null $cast = null ][, array<string|int, mixed> $options = [] ][, bool $ignore = false ][, bool|null $convertEmptyStringToNull = null ][, bool|null $trimFieldValueBeforeCasting = false ]) : mixed
Parameters
$column : string|int|null = null
$cast : class-string|string|null = null
$options : array<string|int, mixed> = []
$ignore : bool = false
$convertEmptyStringToNull : bool|null = null
$trimFieldValueBeforeCasting : bool|null = false

        
On this page

Search results