protected function replaceAppClass($contents)
    {
        $modified = str_replace(
            'Illuminate\Foundation\Application',
            'Shpasser\GaeSupportL5\Foundation\Application',
            $contents);

        if ($contents !== $modified) {
            $this->myCommand->info('Replaced the application class in "bootstrap/app.php".');
        }

        return $modified;
    }
protected function replaceAppClass($contents)
    {
        $modified = str_replace(
            'Illuminate\Foundation\Application',
            'Shpasser\GaeSupportL5\Foundation\Application',
            $contents);

        if ($contents !== $modified) {
            $this->myCommand->info('Replaced the application class in "bootstrap/app.php".');
        }

        return $modified;
    }
protected function replaceAppClass ( $ contents ) { $ modified = str_replace ( 'Illuminate\Foundation\Application' , 'Shpasser\GaeSupportL5\Foundation\Application' , $ contents ) ; if ( $ contents !== $ modified ) { $ this -> myCommand -> info ( 'Replaced the application class in "bootstrap/app.php".' ) ; } return $ modified ; }
Processor function. Replaces the Laravel
application class with the one compatible with GAE.

@param string $contents the 'bootstrap/app.php' file contents.

@return string the modified file contents.
Processor function . Replaces the Laravel application class with the one compatible with GAE .