public function getRemovedIds(): array
{ return [];
} /**
* Camelizes a string.
*/
public static function camelize(string
$id): string
{ return strtr(ucwords(strtr($id,
['_' => ' ', '.' => '_ ', '\\' => '_ '
])),
[' ' => ''
]);
} /**
* A string to underscore.
*/
public static function underscore(string
$id): string
{ return strtolower(preg_replace(['/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'
],
['\\1_\\2', '\\1_\\2'
],
str_replace('_', '.',
$id)));
} /**
* Creates a service by requiring its factory file.
*
* @return mixed
*/