Call to a member function getPath()