protected function makeTransformer(string $name, string $stub):string
    {
        $stub = $this->replaceNamespace($stub);
        $stub = $this->replaceClass($stub, $name);
        $stub = $this->replaceModel($stub, $name);

        return $stub;
    }
protected function makeTransformer(string $name, string $stub):string
    {
        $stub = $this->replaceNamespace($stub);
        $stub = $this->replaceClass($stub, $name);
        $stub = $this->replaceModel($stub, $name);

        return $stub;
    }
protected function makeTransformer ( string $ name , string $ stub ) : string { $ stub = $ this -> replaceNamespace ( $ stub ) ; $ stub = $ this -> replaceClass ( $ stub , $ name ) ; $ stub = $ this -> replaceModel ( $ stub , $ name ) ; return $ stub ; }
Build the transformer class using the given name and stub.

@param  string $name
@param  string $stub
@return string
Build the transformer class using the given name and stub .