src/Console/ModuleMakeCommand.php
protected function replaceName(&$stub, $name)
    {
        $stub = str_replace('DummyTitle', $name, $stub);
        $stub = str_replace('DummyUCtitle', ucfirst(studly_case($name)), $stub);
        return $this;
    }
protected function replaceName(&$stub, $name)
    {
        $stub = str_replace('DummyTitle', $name, $stub);
        $stub = str_replace('DummyUCtitle', ucfirst(studly_case($name)), $stub);
        return $this;
    }
protected function replaceName ( & $ stub , $ name ) { $ stub = str_replace ( 'DummyTitle' , $ name , $ stub ) ; $ stub = str_replace ( 'DummyUCtitle' , ucfirst ( studly_case ( $ name ) ) , $ stub ) ; return $ this ; }
Replace the name for the given stub.

@param  string  $stub
@param  string  $name
@return string
Replace the name for the given stub .