src/Orangehill/Iseed/Iseed.php
public function cleanSection()
    {
        $databaseSeederPath = base_path() . config('iseed::config.path') . '/DatabaseSeeder.php';

        $content = $this->files->get($databaseSeederPath);

        $content = preg_replace("/(\#iseed_start.+?)\#iseed_end/us", "#iseed_start\n\t\t#iseed_end", $content);

        return $this->files->put($databaseSeederPath, $content) !== false;
        return false;
    }
public function cleanSection()
    {
        $databaseSeederPath = base_path() . config('iseed::config.path') . '/DatabaseSeeder.php';

        $content = $this->files->get($databaseSeederPath);

        $content = preg_replace("/(\#iseed_start.+?)\#iseed_end/us", "#iseed_start\n\t\t#iseed_end", $content);

        return $this->files->put($databaseSeederPath, $content) !== false;
        return false;
    }
public function cleanSection ( ) { $ databaseSeederPath = base_path ( ) . config ( 'iseed::config.path' ) . '/DatabaseSeeder.php' ; $ content = $ this -> files -> get ( $ databaseSeederPath ) ; $ content = preg_replace ( "/(\#iseed_start.+?)\#iseed_end/us" , "#iseed_start\n\t\t#iseed_end" , $ content ) ; return $ this -> files -> put ( $ databaseSeederPath , $ content ) !== false ; return false ; }
Cleans the iSeed section
@return bool
Cleans the iSeed section