function PharInvocation::__construct

Parameters

string $baseName:

string $alias:

File

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

Class

PharInvocation

Namespace

TYPO3\PharStreamWrapper\Resolver

Code

public function __construct($baseName, $alias = '') {
    if ($baseName === '') {
        throw new Exception('Base-name cannot be empty', 1551283689);
    }
    $this->baseName = $baseName;
    $this->alias = $alias;
}

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