src/Scaffold/ModelCreator.php
protected function replaceTimestamp(&$stub, $timestamps)
    {
        $useTimestamps = $timestamps ? '' : "public \$timestamps = false;\n";

        $stub = str_replace('DummyTimestamp', $useTimestamps, $stub);

        return $this;
    }
protected function replaceTimestamp(&$stub, $timestamps)
    {
        $useTimestamps = $timestamps ? '' : "public \$timestamps = false;\n";

        $stub = str_replace('DummyTimestamp', $useTimestamps, $stub);

        return $this;
    }
protected function replaceTimestamp ( & $ stub , $ timestamps ) { $ useTimestamps = $ timestamps ? '' : "public \$timestamps = false;\n" ; $ stub = str_replace ( 'DummyTimestamp' , $ useTimestamps , $ stub ) ; return $ this ; }
Replace timestamps dummy.

@param string $stub
@param bool   $timestamps

@return $this
Replace timestamps dummy .