src/Migrations/MigrationCreator.php
protected function populate($name, $eventObjectTable, $actionTiming, $event, $stub)
    {
        $stub = str_replace('DummyClass', $this->getClassName($name), $stub);
        $stub = str_replace('DummyName', $name, $stub);
        $stub = str_replace('DummyEventObjectTable', $eventObjectTable, $stub);
        $stub = str_replace('DummyActionTiming', $actionTiming, $stub);
        $stub = str_replace('DummyEvent', $event, $stub);

        return $stub;
    }
protected function populate($name, $eventObjectTable, $actionTiming, $event, $stub)
    {
        $stub = str_replace('DummyClass', $this->getClassName($name), $stub);
        $stub = str_replace('DummyName', $name, $stub);
        $stub = str_replace('DummyEventObjectTable', $eventObjectTable, $stub);
        $stub = str_replace('DummyActionTiming', $actionTiming, $stub);
        $stub = str_replace('DummyEvent', $event, $stub);

        return $stub;
    }
protected function populate ( $ name , $ eventObjectTable , $ actionTiming , $ event , $ stub ) { $ stub = str_replace ( 'DummyClass' , $ this -> getClassName ( $ name ) , $ stub ) ; $ stub = str_replace ( 'DummyName' , $ name , $ stub ) ; $ stub = str_replace ( 'DummyEventObjectTable' , $ eventObjectTable , $ stub ) ; $ stub = str_replace ( 'DummyActionTiming' , $ actionTiming , $ stub ) ; $ stub = str_replace ( 'DummyEvent' , $ event , $ stub ) ; return $ stub ; }
Populate migration stub.

@param string $name
@param string $eventObjectTable
@param string $actionTiming
@param string $event
@param string $stub
@return string;
Populate migration stub .