ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
FileExistsException.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
League\Flysystem
;
4
5
use
Exception
as
BaseException
;
6
7
class
FileExistsException
extends
Exception
8
{
12
protected
$path
;
13
21
public
function
__construct
(
$path
,
$code
= 0,
BaseException
$previous = null)
22
{
23
$this->path =
$path
;
24
25
parent::__construct(
'File already exists at path: '
. $this->
getPath
(),
$code
, $previous);
26
}
27
33
public
function
getPath
()
34
{
35
return
$this->path
;
36
}
37
}
$code
$code
Definition:
example_050.php:99
League\Flysystem
League\Flysystem\FileExistsException
Definition:
FileExistsException.php:7
League\Flysystem\FileExistsException\$path
$path
Definition:
FileExistsException.php:12
League\Flysystem\FileExistsException\__construct
__construct($path, $code=0, BaseException $previous=null)
Constructor.
Definition:
FileExistsException.php:21
php
League\Flysystem\FileExistsException\getPath
getPath()
Get the path which was found.
Definition:
FileExistsException.php:33
Exception
libs
composer
vendor
league
flysystem
src
FileExistsException.php
Generated on Thu Jan 16 2025 19:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)