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

Breadcrumb

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

function RootPackageInterface::setAutoload

Set the autoload mapping

@phpstan-param AutoloadRules $autoload

Parameters

array $autoload Mapping of autoloading rules:

1 method overrides RootPackageInterface::setAutoload()
RootAliasPackage::setAutoload in vendor/composer/composer/src/Composer/Package/RootAliasPackage.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Package/RootPackageInterface.php, line 112

Class

RootPackageInterface
Defines additional fields that are only needed for the root package

Namespace

Composer\Package

Code

public function setAutoload(array $autoload) : void;
RSS feed
Powered by Drupal