Page MenuHomeWickedGov Phorge

Switch_.php
No OneTemporary

Size
800 B
Referenced Files
None
Subscribers
None

Switch_.php

<?php declare(strict_types=1);
namespace PhpParser\Node\Stmt;
use PhpParser\Node;
class Switch_ extends Node\Stmt
{
/** @var Node\Expr Condition */
public $cond;
/** @var Case_[] Case list */
public $cases;
/**
* Constructs a case node.
*
* @param Node\Expr $cond Condition
* @param Case_[] $cases Case list
* @param array $attributes Additional attributes
*/
public function __construct(Node\Expr $cond, array $cases, array $attributes = []) {
$this->attributes = $attributes;
$this->cond = $cond;
$this->cases = $cases;
}
public function getSubNodeNames() : array {
return ['cond', 'cases'];
}
public function getType() : string {
return 'Stmt_Switch';
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Nov 23, 00:32 (2 d, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
15/9b/ff6a9818e1f1ae0af7f8b343f992
Default Alt Text
Switch_.php (800 B)

Event Timeline