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

Breadcrumb

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

function Rule::__toString

3 methods override Rule::__toString()
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 81

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 abstract function __toString() : string;

API Navigation

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