[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/ -> DateTimeFormatterStrategy.php (summary)

Zend Framework (http://framework.zend.com/)

Copyright: Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 80 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  __construct()
  extract()
  hydrate()

Functions
Functions that are not part of a class:

__construct($format = DateTime::RFC3339, DateTimeZone $timezone = null)   X-Ref
Constructor

param: string            $format
param: DateTimeZone|null $timezone

extract($value)   X-Ref
{@inheritDoc}

Converts to date time string

param: mixed|DateTime $value
return: mixed|string

hydrate($value)   X-Ref
Converts date time string to DateTime instance for injecting to object

{@inheritDoc}

param: mixed|string $value
return: mixed|DateTime



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1