freshbooks-php-sdk

ISODateTimeImmutableCaster
in package
implements Caster

Table of Contents

Interfaces

Caster

Constants

FORMAT  = 'Y-m-d\\TH:i:s\\Z'
FORMAT_NO_DESIGNATOR  = 'Y-m-d\\TH:i:s'

Properties

$includeTimeZoneDesignator  : bool
$types  : array<string|int, mixed>

Methods

__construct()  : mixed
cast()  : DateTimeImmutable

Constants

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $types[, bool $includeTimeZoneDesignator = true ]) : mixed
Parameters
$types : array<string|int, mixed>
$includeTimeZoneDesignator : bool = true

cast()

public cast(string|mixed $value) : DateTimeImmutable
Parameters
$value : string|mixed
Return values
DateTimeImmutable
Loading…
On this page

Search results