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

Breadcrumb

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

function LogicalAndToken::__construct

Parameters

array<mixed> $arguments exact values or tokens:

File

vendor/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalAndToken.php, line 29

Class

LogicalAndToken
Logical AND token.

Namespace

Prophecy\Argument\Token

Code

public function __construct(array $arguments) {
    foreach ($arguments as $argument) {
        if (!$argument instanceof TokenInterface) {
            $argument = new ExactValueToken($argument);
        }
        $this->tokens[] = $argument;
    }
}

API Navigation

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