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

Breadcrumb

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

function Match_::__construct

Parameters

Node\Expr $cond Condition:

MatchArm[] $arms:

array<string, mixed> $attributes Additional attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Match_.php, line 19

Class

Match_

Namespace

PhpParser\Node\Expr

Code

public function __construct(Node\Expr $cond, array $arms = [], array $attributes = []) {
    $this->attributes = $attributes;
    $this->cond = $cond;
    $this->arms = $arms;
}
RSS feed
Powered by Drupal