src/Console/Commands/MakeRepositoryCommand.php
protected function replaceBaseRepositoryClass(&$stub, $name)
    {
        $baseClass = str_replace($this->getNamespace($name) . '\\', '', $name);
        $stub      = str_replace('BaseRepositoryClass', $baseClass, $stub);

        return $this;
    }
protected function replaceBaseRepositoryClass(&$stub, $name)
    {
        $baseClass = str_replace($this->getNamespace($name) . '\\', '', $name);
        $stub      = str_replace('BaseRepositoryClass', $baseClass, $stub);

        return $this;
    }
protected function replaceBaseRepositoryClass ( & $ stub , $ name ) { $ baseClass = str_replace ( $ this -> getNamespace ( $ name ) . '\\' , '' , $ name ) ; $ stub = str_replace ( 'BaseRepositoryClass' , $ baseClass , $ stub ) ; return $ this ; }
Replace the default base repository class name for the given stub.

@param  string $stub
@param  string $name
@return $this
Replace the default base repository class name for the given stub .