public function dumpAction()
    {
        $this->putText("Dumping modules & services files...");

        if ($this->isConfigured()) {
            $config = $this->getDI()->get('config');

            $moduleLoader = new \Vegas\Mvc\Module\Loader($this->getDI());
            $moduleLoader->dump(
                $config->application->moduleDir,
                $config->application->configDir
            );

            $serviceProviderLoader = new \Vegas\DI\ServiceProviderLoader($this->getDI());
            $serviceProviderLoader->autoload(
                $config->application->serviceDir,
                $config->application->configDir
            );

            $this->putSuccess("Done.");
        }
    }
public function dumpAction()
    {
        $this->putText("Dumping modules & services files...");

        if ($this->isConfigured()) {
            $config = $this->getDI()->get('config');

            $moduleLoader = new \Vegas\Mvc\Module\Loader($this->getDI());
            $moduleLoader->dump(
                $config->application->moduleDir,
                $config->application->configDir
            );

            $serviceProviderLoader = new \Vegas\DI\ServiceProviderLoader($this->getDI());
            $serviceProviderLoader->autoload(
                $config->application->serviceDir,
                $config->application->configDir
            );

            $this->putSuccess("Done.");
        }
    }
public function dumpAction ( ) { $ this -> putText ( "Dumping modules & services files..." ) ; if ( $ this -> isConfigured ( ) ) { $ config = $ this -> getDI ( ) -> get ( 'config' ) ; $ moduleLoader = new \ Vegas \ Mvc \ Module \ Loader ( $ this -> getDI ( ) ) ; $ moduleLoader -> dump ( $ config -> application -> moduleDir , $ config -> application -> configDir ) ; $ serviceProviderLoader = new \ Vegas \ DI \ ServiceProviderLoader ( $ this -> getDI ( ) ) ; $ serviceProviderLoader -> autoload ( $ config -> application -> serviceDir , $ config -> application -> configDir ) ; $ this -> putSuccess ( "Done." ) ; } }
Dumps modules & services files used for application autoloading
Dumps modules & services files used for application autoloading