src/Commands/AssetCommand.php
protected function renameStubs()
    {
        foreach ($this->stubsToRename() as $stub) {
            (new Filesystem)->move($stub, str_replace('.stub', '.php', $stub));
        }
    }
protected function renameStubs()
    {
        foreach ($this->stubsToRename() as $stub) {
            (new Filesystem)->move($stub, str_replace('.stub', '.php', $stub));
        }
    }
protected function renameStubs ( ) { foreach ( $ this -> stubsToRename ( ) as $ stub ) { ( new Filesystem ) -> move ( $ stub , str_replace ( '.stub' , '.php' , $ stub ) ) ; } }
Rename the stubs with PHP file extensions.

@return void
Rename the stubs with PHP file extensions .