Overview

Namespaces

  • ApiBundle
    • DataFixtures
      • Faker
        • Provider
    • DependencyInjection
    • Doctrine
      • DBAL
        • Type
      • ORM
        • Filter
          • User
    • Entity
    • EventListener
      • Doctrine
    • Manager
    • Utils
  • FrontBundle
    • Bundle
      • UserBundle
    • Client
      • Exception
    • Controller
    • DependencyInjection
    • Form
      • DataTransformer
      • Type
    • Menu
    • Security
      • Http
        • Authentication
    • Services
      • Http
    • Twig
    • Utils

Classes

  • UTCDateTimeType
  • Overview
  • Namespace
  • Class

Class UTCDateTimeType

Class UTCDateTimeType: used to set the timezone of any date to UTC.

Doctrine\DBAL\Types\DateTimeType
Extended by ApiBundle\Doctrine\DBAL\Type\UTCDateTimeType
Namespace: ApiBundle\Doctrine\DBAL\Type
Author: Théo FIDRY theo.fidry@gmail.com
Link: https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/timestampable.md#creating-a-utc-datetime-type-that-stores-your-datetimes-in-utc
Located at ApiBundle/Doctrine/DBAL/Type/UTCDateTimeType.php
Methods summary
public
# convertToDatabaseValue( $phpValue, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
public
# convertToPHPValue( $databaseValue, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
API documentation generated by ApiGen