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

Breadcrumb

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

function RuleSet::__construct

Same name in this branch
  1. 11.1.x vendor/squizlabs/php_codesniffer/src/Ruleset.php \PHP_CodeSniffer\Ruleset::__construct()

File

vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php, line 52

Class

RuleSet
@author Nils Adermann <naderman@naderman.de> @implements \IteratorAggregate<Rule> @internal @final

Namespace

Composer\DependencyResolver

Code

public function __construct() {
    foreach ($this->getTypes() as $type) {
        $this->rules[$type] = [];
    }
}

API Navigation

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