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

Breadcrumb

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

function AutoloadGenerator::setApcu

Whether generated autoloader considers APCu caching.

Return value

void

File

vendor/composer/composer/src/Composer/Autoload/AutoloadGenerator.php, line 121

Class

AutoloadGenerator
@author Igor Wiedler <igor@wiedler.ch> @author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Autoload

Code

public function setApcu(bool $apcu, ?string $apcuPrefix = null) {
    $this->apcu = $apcu;
    $this->apcuPrefix = $apcuPrefix;
}

API Navigation

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