Problem to find defined methodes

how can finde the base of the methode ‘collection()’ and ‘collections()’?
from $this->module(‘collections’)->collection($name);

how can find the modul and content from name ‘collections’ ($this->module(‘collections’))

module(...) return an an module instance from an module contained in <install root>/modules

So if you’d like to know which methods are avail from the instance returned by module('collections') see: