How do I use Unix timestamps with the Doctrine Timestampable behavior? I found the following code snippet here, but I\'d rather not manually add this everywhere:
Its very simple. Just create a Setter method for your field with a datetime parameter and use the tostring method to store it as integer.