public function FakeFile::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/File/FakeFile.php \Symfony\Component\HttpFoundation\Tests\File\FakeFile::__construct()
Constructs a new file from the given path.
Parameters
string $path The path to the file:
bool $checkPath Whether to check the path or not:
Throws
FileNotFoundException If the given path is not a file
Overrides File::__construct
File
- vendor/
symfony/ http-foundation/ Tests/ File/ FakeFile.php, line 20
Class
Namespace
Symfony\Component\HttpFoundation\Tests\FileCode
public function __construct($realpath, $path) {
$this->realpath = $realpath;
parent::__construct($path, false);
}