DotKernel to ZF2 conversion