Repair¶
-
class
OC\
Repair
¶ Source: lib/private/Repair.php#84 Implements: OCP\Migration\IOutput
Properties¶
Methods¶
-
public
OC\Repair::
__construct
($repairSteps, $dispatcher, $logger)¶ - Creates a new repair step runner
Source: Parameters: - $repairSteps (
OCP\Migration\IRepairStep[]
) array of RepairStep instances - $dispatcher (
Symfony\Component\EventDispatcher\EventDispatcherInterface
)
- $repairSteps (
-
public
OC\Repair::
run
()¶ - Run a series of repair steps for common problems
Source: lib/private/Repair.php#112
-
public
OC\Repair::
addStep
($repairStep)¶ - Add repair step
Source: Parameters: - $repairStep (
OCP\Migration\IRepairStep
| string) repair step
Throws: \Exception
- $repairStep (
-
public static
OC\Repair::
getRepairSteps
()¶ - Returns the default repair steps to be run on thecommand line or after an upgrade.
Source: lib/private/Repair.php#165 Returns: \OCP\Migration\IRepairStep[]
-
public static
OC\Repair::
getExpensiveRepairSteps
()¶ - Returns expensive repair steps to be run on thecommand line with a special option.
Source: lib/private/Repair.php#214 Returns: \OCP\Migration\IRepairStep[]
-
public static
OC\Repair::
getBeforeUpgradeRepairSteps
()¶ - Returns the repair steps to be run before anupgrade.
Source: lib/private/Repair.php#227 Returns: \OCP\Migration\IRepairStep[]
-
public
OC\Repair::
emit
($scope, $method, $arguments=[])¶ Source: Parameters: - $scope (string)
- $method (string)
- $arguments (array)
-
public
OC\Repair::
info
($string)¶ Source: lib/private/Repair.php#255
-
public
OC\Repair::
warning
($message)¶ Source: Parameters: - $message (string)
-
public
OC\Repair::
startProgress
($max=0)¶ Source: Parameters: - $max (int)
-
public
OC\Repair::
advance
($step=1, $description="")¶ Source: Parameters: - $step (int)
- $description (string)
-
public
OC\Repair::
finishProgress
()¶ Source: lib/private/Repair.php#288 Parameters: