You are here

public function PharInvocation::getVariable in Drupal 7

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];
}