function PharInvocation::getVariable

Parameters

string $name:

Return value

mixed|null

File

misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocation.php, line 99

Class

PharInvocation

Namespace

TYPO3\PharStreamWrapper\Resolver

Code

public function getVariable($name) {
    if (!isset($this->variables[$name])) {
        return null;
    }
    return $this->variables[$name];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.