use init of doctrine in container instead of bootstrap.php