Documentation

InvalidPathException constructor

 public
\Bitrix\Main\IO\InvalidPathException::__construct(
  $path,
  \Exception $previous = null
);

Non-static method is called when creating a class instance, allowing to perform specific actions within it when creating an object. Only path is passed to constructor.

Parameters

ParameterDescriptionVersion
$pathFile path.
$previousPrevious exception. Used for building chain of exceptions.

Example



© «Bitrix24», 2001-2024
Up