refactor LatchPhpSdkManagerSpec