see https://github.com/zendframework/zf2/pull/6235#discussion_r12384275