You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application that uses doctrine 2 (ORM), and use an override in datetimes. (Doctrine\DBAL\Types\Type::overrideType)
In this situation the handlers not serialize the object type, even though the son of datetime.
See the example:
Class A -> ORM\DateTimeType extends \DateTime
Object A -> instance of DateTimeType
To serialize, the return should be a string of type date
Example: serialize($A); -----> '2014-12-26 16:46:10'
But is an empty object..( {} )
The text was updated successfully, but these errors were encountered:
kessiler
pushed a commit
to Zeedhi/serializer
that referenced
this issue
Dec 29, 2014
I have an application that uses doctrine 2 (ORM), and use an override in datetimes. (Doctrine\DBAL\Types\Type::overrideType)
In this situation the handlers not serialize the object type, even though the son of datetime.
See the example:
Class A -> ORM\DateTimeType extends \DateTime
Object A -> instance of DateTimeType
To serialize, the return should be a string of type date
Example: serialize($A); -----> '2014-12-26 16:46:10'
But is an empty object..( {} )
The text was updated successfully, but these errors were encountered: