<?php strtolower(string $string): string
<?php public function getSolution(): Solution { $validLogLevels = array_map(function (string $level) { return strtolower($level); }, array_keys(Logger::getLevels())); $validLogLevelsString = implode(',', $validLogLevels);
<?php public function hasNamespaceThatContainsClassName(string $className): bool { return $this->getNamespaces()->contains(function ($namespace) use ($className) { return Str::startsWith(strtolower($className), strtolower($namespace)); }); }