ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
League\Flysystem\FileExistsException Class Reference
+ Inheritance diagram for League\Flysystem\FileExistsException:
+ Collaboration diagram for League\Flysystem\FileExistsException:

Public Member Functions

 __construct ($path, $code=0, BaseException $previous=null)
 Constructor. More...
 
 getPath ()
 Get the path which was found. More...
 

Protected Attributes

 $path
 

Detailed Description

Definition at line 7 of file FileExistsException.php.

Constructor & Destructor Documentation

◆ __construct()

League\Flysystem\FileExistsException::__construct (   $path,
  $code = 0,
BaseException  $previous = null 
)

Constructor.

Parameters
string$path
int$code
BaseException$previous

Definition at line 21 of file FileExistsException.php.

References $code, League\Flysystem\FileExistsException\$path, and League\Flysystem\FileExistsException\getPath().

22  {
23  $this->path = $path;
24 
25  parent::__construct('File already exists at path: ' . $this->getPath(), $code, $previous);
26  }
$code
Definition: example_050.php:99
getPath()
Get the path which was found.
+ Here is the call graph for this function:

Member Function Documentation

◆ getPath()

League\Flysystem\FileExistsException::getPath ( )

Get the path which was found.

Returns
string

Definition at line 33 of file FileExistsException.php.

References League\Flysystem\FileExistsException\$path.

Referenced by League\Flysystem\FileExistsException\__construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $path

League\Flysystem\FileExistsException::$path
protected

The documentation for this class was generated from the following file: