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

Breadcrumb

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

function Filesystem::assertFunctionExists

3 calls to Filesystem::assertFunctionExists()
Filesystem::box in vendor/symfony/filesystem/Filesystem.php
Filesystem::hardlink in vendor/symfony/filesystem/Filesystem.php
Creates a hard link, or several hard links to a file.
Filesystem::symlink in vendor/symfony/filesystem/Filesystem.php
Creates a symbolic link or copy a directory.

File

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

Class

Filesystem
Provides basic utility to manipulate the file system.

Namespace

Symfony\Component\Filesystem

Code

private static function assertFunctionExists(string $func) : void {
    if (!\function_exists($func)) {
        throw new IOException(\sprintf('Unable to perform filesystem operation because the "%s()" function has been disabled.', $func));
    }
}

API Navigation

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