Symfony\Component\HttpFoundation\File\File::__construct
Constructs a new file from the given path.
Signature
public function __construct(string
$path,
[Boolean
$checkPath = true] )
Parameters
$path
— string- The path to the file
$checkPath
— object- Whether to check the path or not
Errors/Exceptions
-
FileNotFoundException
- If the given path is not a file