src/Consolet/Generators/AbstractStubGenerator.php
protected function store($stub)
    {
        $output = $this->getOutputPath();
        if ($this->files->exists($output)) {
            return false;
        }
        $this->files->put($output, $stub);
        return true;
    }
protected function store($stub)
    {
        $output = $this->getOutputPath();
        if ($this->files->exists($output)) {
            return false;
        }
        $this->files->put($output, $stub);
        return true;
    }
protected function store ( $ stub ) { $ output = $ this -> getOutputPath ( ) ; if ( $ this -> files -> exists ( $ output ) ) { return false ; } $ this -> files -> put ( $ output , $ stub ) ; return true ; }
save formatted stub text

@param string $stub
@return bool
save formatted stub text