public function mount(): void
    {
        if (count($this->collections) > 0) {
            foreach ($this->collections as $collection) {
                $micro = new MicroCollection();
                // Set the main handler. ie. a controller instance
                $micro->setHandler($collection['className'], true);
                // Set a common prefix for all routes

                if ($this->prefix) {
                    $micro->setPrefix($this->prefix);
                }

                // Use the method 'index' in PostsController
                $micro->{$collection['method']}($collection['pattern'], $collection['function']);

                $this->application->mount($micro);
            }
        }

        return;
    }