App\Console\Commands\GenerateResources::fire PHP Method

fire() public method

Execute the command.
public fire ( ) : void
return void
    public function fire()
    {
        $texts = File::getRequire(base_path() . '/resources/lang/en/texts.php');
        foreach ($texts as $key => $value) {
            if (is_array($value)) {
                echo $key;
            } else {
                echo "{$key} => {$value}\n";
            }
        }
    }