Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Filesystem.php

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.

... See full list

File

vendor/symfony/filesystem/Filesystem.php, line 753

Class

Filesystem
Provides basic utility to manipulate the file system.

Namespace

Symfony\Component\Filesystem

Code

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();
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal