src/ViewComposerMakeCommand.php
/**
     * Replace the class name for the given stub.
     *
     * @param  string  $stub
     * @param  string  $name
     * @return string
     */
Replace the class name for the given stub.
Replace the class name for the given stub .
protected function replaceClass($stub, $name)
    {
        $class = explode('\\',$name);
        return str_replace('DummyClass', array_pop($class), $stub);
    }
protected function replaceClass ( $ stub , $ name ) { $ class = explode ( '\\' , $ name ) ; return str_replace ( 'DummyClass' , array_pop ( $ class ) , $ stub ) ; }
Replace the class name for the given stub.
Replace the class name for the given stub .