ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
FileExistsException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace League\Flysystem;
4 
6 
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
Definition: example_050.php:99
__construct($path, $code=0, BaseException $previous=null)
Constructor.
getPath()
Get the path which was found.