protected function populateStub($model, $stub)
    {
        $stub = str_replace('DummyClass', $this->getClassName($model), $stub);

        $stub = str_replace('DummyModel', $model, $stub);

        return $stub;
    }
protected function populateStub($model, $stub)
    {
        $stub = str_replace('DummyClass', $this->getClassName($model), $stub);

        $stub = str_replace('DummyModel', $model, $stub);

        return $stub;
    }
protected function populateStub ( $ model , $ stub ) { $ stub = str_replace ( 'DummyClass' , $ this -> getClassName ( $ model ) , $ stub ) ; $ stub = str_replace ( 'DummyModel' , $ model , $ stub ) ; return $ stub ; }
Populate the place-holders in the mapping stub.

@param string $model
@param string $stub

@return string
Populate the place - holders in the mapping stub .