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

Breadcrumb

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

class Coalesce

Same name in this branch
  1. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Coalesce.php \PhpParser\Node\Expr\AssignOp\Coalesce

Hierarchy

  • class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
    • class \PhpParser\Node\Expr extends \PhpParser\NodeAbstract
      • class \PhpParser\Node\Expr\BinaryOp extends \PhpParser\Node\Expr
        • class \PhpParser\Node\Expr\BinaryOp\Coalesce extends \PhpParser\Node\Expr\BinaryOp

Expanded class hierarchy of Coalesce

File

vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Coalesce.php, line 7

Namespace

PhpParser\Node\Expr\BinaryOp
View source
class Coalesce extends BinaryOp {
    public function getOperatorSigil() : string {
        return '??';
    }
    public function getType() : string {
        return 'Expr_BinaryOp_Coalesce';
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
BinaryOp::$left public property @var Expr The left hand side expression
BinaryOp::$right public property @var Expr The right hand side expression
BinaryOp::getSubNodeNames public function
BinaryOp::__construct public function Constructs a binary operator node.
Coalesce::getOperatorSigil public function Get the operator sigil for this binary operation. Overrides BinaryOp::getOperatorSigil
Coalesce::getType public function

API Navigation

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