using array cache in doctrine