Phase-dependent interaction in a four-level atomic configuration