function Filesystem::box
14 calls to Filesystem::box()
- Filesystem::appendToFile in vendor/
symfony/ filesystem/ Filesystem.php - Appends content to an existing file.
- Filesystem::chgrp in vendor/
symfony/ filesystem/ Filesystem.php - Change the group of an array of files or directories.
- Filesystem::chmod in vendor/
symfony/ filesystem/ Filesystem.php - Change mode for an array of files or directories.
- Filesystem::chown in vendor/
symfony/ filesystem/ Filesystem.php - Change the owner of an array of files or directories.
- Filesystem::copy in vendor/
symfony/ filesystem/ Filesystem.php - Copies a file.
File
-
vendor/
symfony/ filesystem/ Filesystem.php, line 753
Class
- Filesystem
- Provides basic utility to manipulate the file system.
Namespace
Symfony\Component\FilesystemCode
private static function box(string $func, mixed ...$args) : mixed {
self::assertFunctionExists($func);
self::$lastError = null;
set_error_handler(self::handleError(...));
try {
return $func(...$args);
} finally {
restore_error_handler();
}
}