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

Breadcrumb

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

function includeIfExists

Same name in this branch
  1. 11.1.x vendor/composer/installers/src/bootstrap.php \includeIfExists()
2 calls to includeIfExists()
bootstrap.php in vendor/composer/installers/src/bootstrap.php
bootstrap.php in vendor/composer/composer/src/bootstrap.php

File

vendor/composer/composer/src/bootstrap.php, line 15

Code

function includeIfExists(string $file) : ?ClassLoader {
    return file_exists($file) ? include $file : null;
}

API Navigation

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