$file = GeneralUtility::getFileAbsFileName('fileadmin/image.jpg'); $content = GeneralUtility::getFileContent($file);
$message = 'An error occurred.'; $severity = \TYPO3\CMS\Core\Log\LogLevel::ERROR; GeneralUtility::log($message, $severity);
$string = 'Hello World!'; $lowerCaseString = GeneralUtility::toLowerCase($string);Overall, the GeneralUtility class is included in TYPO3's core utility package, which provides a range of commonly used functions for various tasks.