The context of the following conversation is As part of her apprenticeship, Alex worked for Lee diligently.:
Alex says I worked for Lee diligently.
The friend responds Yes, you have to. Lee is your boss.
Alex responds Yes, as part of my apprenticeship it's quite important.
The friend responds Soon you'll become the boss. It's just a matter of time.