protected function writeStatus($status, $webExecution)
    {
        if ($webExecution)
        {
            $cachedStatus = unserialize(Cache::get('scaffolder-status'));
            array_push($cachedStatus, $status);
            Cache::forever('scaffolder-status', serialize($cachedStatus));
        }
        else
        {
            $this->info($status);
        }
    }
protected function writeStatus($status, $webExecution)
    {
        if ($webExecution)
        {
            $cachedStatus = unserialize(Cache::get('scaffolder-status'));
            array_push($cachedStatus, $status);
            Cache::forever('scaffolder-status', serialize($cachedStatus));
        }
        else
        {
            $this->info($status);
        }
    }
protected function writeStatus ( $ status , $ webExecution ) { if ( $ webExecution ) { $ cachedStatus = unserialize ( Cache :: get ( 'scaffolder-status' ) ) ; array_push ( $ cachedStatus , $ status ) ; Cache :: forever ( 'scaffolder-status' , serialize ( $ cachedStatus ) ) ; } else { $ this -> info ( $ status ) ; } }
Store status in cache or print.

@param string $status
@param bool $webExecution
Store status in cache or print .