Overview

Namespaces

  • Jity
    • HomepageBundle
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
        • Compiler
        • Service
          • Controller
      • Doctrine
        • Extension
          • DBAL
            • Types
      • Entity
      • EventListener
      • Form
        • Extension
      • Tests
        • Controller
      • Twig
        • Extension
  • PHP

Classes

  • IntlDateTime
  • IntlDateTimeType
  • Overview
  • Namespace
  • Class
  • Tree

Class IntlDateTimeType

IntlDateTimeType

Doctrine DBAL Type which converts all entity DateTime properties to our own DateTime Implementation which use the Intl Extension for formatting.

Doctrine\DBAL\Types\DateTimeType
Extended by Jity\HomepageBundle\Doctrine\Extension\DBAL\Types\IntlDateTimeType
Namespace: Jity\HomepageBundle\Doctrine\Extension\DBAL\Types
Author: Hermann Mayer <hermann.mayer92@gmail.com>
Uses: DateTimeType
Located at Jity/HomepageBundle/Doctrine/Extension/DBAL/Types/IntlDateTimeType.php
Methods summary
public Jity\HomepageBundle\Doctrine\Extension\DBAL\Types\IntlDateTime|null
# convertToPHPValue( mixed $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )

convertToPHPValue

convertToPHPValue

Converts a entity DateTime property to IntlDateTime.

Parameters

$value
mixed
$value Value to convert
$platform
Doctrine\DBAL\Platforms\AbstractPlatform
$platform Specific Platform

Returns

Jity\HomepageBundle\Doctrine\Extension\DBAL\Types\IntlDateTime|null
API documentation generated by ApiGen 2.8.0