private static function CleanerCacheController::explode in Cleaner 8
Explode the string into the array.
Parameters
string $string: String to be exploded.
Return value
array Exploded string in array format.
1 call to CleanerCacheController::explode()
- CleanerCacheController::getAdditionalTables in src/
Controller/ CleanerCacheController.php - Get an additional tables for clearing.
File
- src/
Controller/ CleanerCacheController.php, line 169
Class
- CleanerCacheController
- Class CleanerCacheController.
Namespace
Drupal\cleaner\ControllerCode
private static function explode($string = '') {
return is_string($string) && !empty($string) ? explode(',', self::sanitize($string)) : [];
}