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

Breadcrumb

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

function ContinueStatement::setLabel

Sets the node's label

Parameters

Identifier $label Node's label:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/ContinueStatement.php, line 52

Class

ContinueStatement
A node that represents the "continue" statement inside loops.

Namespace

Peast\Syntax\Node

Code

public function setLabel($label) {
    $this->assertType($label, "Identifier", true);
    $this->label = $label;
    return $this;
}
RSS feed
Powered by Drupal