public function Reader::__construct in Drupal 7
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();
}