function Reader::__construct
Parameters
string $fileName:
File
-
misc/
typo3/ phar-stream-wrapper/ src/ Phar/ Reader.php, line 34
Class
Namespace
TYPO3\PharStreamWrapper\PharCode
public function __construct($fileName) {
if (strpos($fileName, '://') !== false) {
throw new ReaderException('File name must not contain stream prefix', 1539623708);
}
$this->fileName = $fileName;
$this->fileType = $this->determineFileType();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.