__construct()
__construct(string $path, boolean $checkPath = true)
Constructs a new file from the given path.
Parameters
string | $path | The path to the file |
boolean | $checkPath | Whether to check the path or not |
Throws
- \Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
If the given path is not a file