src/Conpago/AppBuilder.php
protected function loadModules()
    {
        $moduleMask = implode(
            DIRECTORY_SEPARATOR,
            array(
             $this->appPath->root()->get(),
             'src',
             $this->contextName.'Module.php',
            )
        );

        foreach ($this->fileSystem->glob($moduleMask) as $filePath) {
            $class = $this->loadModule($filePath);
            $class->build($this->containerBuilder);
        }
    }
protected function loadModules()
    {
        $moduleMask = implode(
            DIRECTORY_SEPARATOR,
            array(
             $this->appPath->root()->get(),
             'src',
             $this->contextName.'Module.php',
            )
        );

        foreach ($this->fileSystem->glob($moduleMask) as $filePath) {
            $class = $this->loadModule($filePath);
            $class->build($this->containerBuilder);
        }
    }
Loads all modules contained in app and builds them.

@return void