concrete/src/Backup/ContentImporter/Importer/Manager.php
public function registerImporterRoutine(RoutineInterface $routine)
    {
        if (in_array($routine, $this->routines)) {
            $this->routines[array_search($routine, $this->routines)] = $routine;
        } else {
            $this->routines[] = $routine;
        }
    }
public function registerImporterRoutine(RoutineInterface $routine)
    {
        if (in_array($routine, $this->routines)) {
            $this->routines[array_search($routine, $this->routines)] = $routine;
        } else {
            $this->routines[] = $routine;
        }
    }
public function registerImporterRoutine ( RoutineInterface $ routine ) { if ( in_array ( $ routine , $ this -> routines ) ) { $ this -> routines [ array_search ( $ routine , $ this -> routines ) ] = $ routine ; } else { $ this -> routines [ ] = $ routine ; } }
Registers a core importer routine. Add-on developers should use addImporterRoutine
You can use this if you want to swap out a core routine.
@param RoutineInterface $routine
Registers a core importer routine . Add - on developers should use addImporterRoutine You can use this if you want to swap out a core routine .