Example of using Zend Framework 2 with Doctrine 2 focusing on entity versioning