Documentation

TimeColumn extends AbstractColumn
in package

Table of Contents

Properties

$description  : string|null
$format  : string
$name  : string
$size  : int

Methods

__construct()  : mixed
getDescription()  : string|null
getFormat()  : string
getName()  : string
getSize()  : int
toValue()  : DateTimeImmutable|null
validate()  : bool

Properties

Methods

__construct()

public __construct(string $name[, string $format = 'H:i:s' ][, string|null $description = null ]) : mixed
Parameters
$name : string
$format : string = 'H:i:s'
$description : string|null = null

getDescription()

public getDescription() : string|null
Return values
string|null

getFormat()

public getFormat() : string
Return values
string

toValue()

public toValue(string $slice) : DateTimeImmutable|null
Parameters
$slice : string
Return values
DateTimeImmutable|null

validate()

public validate(string $slice) : bool
Parameters
$slice : string
Return values
bool
On this page

Search results