Page MenuHomeWickedGov Phorge

Variable.php
No OneTemporary

Size
937 B
Referenced Files
None
Subscribers
None

Variable.php

<?php
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
namespace Microsoft\PhpParser\Node\Expression;
use Microsoft\PhpParser\Node\Expression;
use Microsoft\PhpParser\Token;
class Variable extends Expression {
/** @var Token */
public $dollar;
/** @var Token|Variable|BracedExpression */
public $name;
const CHILD_NAMES = [
'dollar',
'name'
];
public function getName() {
if (
$this->name instanceof Token &&
$name = ltrim($this->name->getText($this->getFileContents()), '$')
) {
return $name;
}
return null;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 21:49 (1 d, 4 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8c/a2/7a711b8923662ae92b375af182fa
Default Alt Text
Variable.php (937 B)

Event Timeline