Topic summary
Metonymically

Extracted from the Wikipedia article Metonymy.
Versus metaphor
Sometimes, metaphor and metonymy may both be at work in the same figure of speech, or one could interpret a phrase metaphorically or metonymically. For example, the phrase "lend me your ear" could be analyzed in a number of ways. One could imagine the following interpretations: