I have created a Google controller class which has a method distance(). This uses Google's distance matrix to calculate the distance between two postcodes and returns the value.
Now I have another controller class called "Person". I want to call the ${Google}->distance() method from within my Person class, to see how far this Person is away from a certain postcode.
How would I achieve this and am I going about this the right way.