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

Breadcrumb

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

function Rule::isDisabled

3 calls to Rule::isDisabled()
GenericRule::__toString in vendor/composer/composer/src/Composer/DependencyResolver/GenericRule.php
Formats a rule as a string of the format (Literal1|Literal2|...)
MultiConflictRule::__toString in vendor/composer/composer/src/Composer/DependencyResolver/MultiConflictRule.php
Formats a rule as a string of the format (Literal1|Literal2|...)
Rule2Literals::__toString in vendor/composer/composer/src/Composer/DependencyResolver/Rule2Literals.php
Formats a rule as a string of the format (Literal1|Literal2|...)

File

vendor/composer/composer/src/Composer/DependencyResolver/Rule.php, line 138

Class

Rule
@author Nils Adermann <naderman@naderman.de> @author Ruben Gonzalez <rubenrua@gmail.com> @phpstan-type ReasonData Link|BasePackage|string|int|array{packageName: string, constraint: ConstraintInterface}|array{package: BasePackage}

Namespace

Composer\DependencyResolver

Code

public function isDisabled() : bool {
    return 0 !== ($this->bitfield & 255 << self::BITFIELD_DISABLED) >> self::BITFIELD_DISABLED;
}

API Navigation

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