ZF2 Factory snipppet