This is wrong. StaticPHPDriver does not use a locator. Please check the definitions you are building