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

Breadcrumb

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

function SwitchCase::getTest

Returns the test expression that is null in the "default" case

Return value

Expression

File

vendor/mck89/peast/lib/Peast/Syntax/Node/SwitchCase.php, line 48

Class

SwitchCase
A node that represents a case in a switch statement.

Namespace

Peast\Syntax\Node

Code

public function getTest() {
    return $this->test;
}

API Navigation

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