Symfony\Component\Filesystem\Filesystem::isAbsolutePath
Returns whether the file path is an absolute path.
Signature
public function isAbsolutePath(string
$file )
Parameters
$file
— string- A file path
Returns
- Boolean