src/Anonym/Application/Console/ConfigCacheCommand.php
public function handle(){
        $cachedPath  = SYSTEM.'cached_configs.php';
        $configs = $this->loadAllConfigs();


        $this->file->put($cachedPath, '<?php return '.var_export($configs, true).';'.PHP_EOL);
        $this->info('Configuration cached successfully!');
    }
public function handle(){
        $cachedPath  = SYSTEM.'cached_configs.php';
        $configs = $this->loadAllConfigs();


        $this->file->put($cachedPath, '<?php return '.var_export($configs, true).';'.PHP_EOL);
        $this->info('Configuration cached successfully!');
    }
public function handle ( ) { $ cachedPath = SYSTEM . 'cached_configs.php' ; $ configs = $ this -> loadAllConfigs ( ) ; $ this -> file -> put ( $ cachedPath , '<?php return ' . var_export ( $ configs , true ) . ';' . PHP_EOL ) ; $ this -> info ( 'Configuration cached successfully!' ) ; }
handle the command

@param InputInterface $input
@param OutputInterface $output
@return mixed
handle the command