public static function Cleaner::run in Cleaner 8
Run Cleaner service.
File
- src/
Cleaner.php, line 26
Class
- Cleaner
- Class Cleaner.
Namespace
Drupal\cleanerCode
public static function run() {
$services = (array) self::$services;
if (!empty($services)) {
foreach ($services as $service) {
if (\Drupal::hasService($service)) {
\Drupal::service($service)
->execute();
}
}
}
}