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

Static Public Member Functions

static forLink (SplFileInfo $file)
 Create a new exception for a link. More...
 
static forFtpSystemType ($systemType)
 Create a new exception for a link. More...
 

Detailed Description

Definition at line 8 of file NotSupportedException.php.

Member Function Documentation

◆ forFtpSystemType()

static League\Flysystem\NotSupportedException::forFtpSystemType (   $systemType)
static

Create a new exception for a link.

Parameters
string$systemType
Returns
static

Definition at line 31 of file NotSupportedException.php.

References $message.

Referenced by League\Flysystem\Adapter\AbstractFtpAdapter\normalizeObject().

32  {
33  $message = "The FTP system type '$systemType' is currently not supported.";
34 
35  return new static($message);
36  }
catch(Exception $e) $message
+ Here is the caller graph for this function:

◆ forLink()

static League\Flysystem\NotSupportedException::forLink ( SplFileInfo  $file)
static

Create a new exception for a link.

Parameters
SplFileInfo$file
Returns
static

Definition at line 17 of file NotSupportedException.php.

References $message.

Referenced by League\Flysystem\Adapter\Local\normalizeFileInfo().

18  {
19  $message = 'Links are not supported, encountered link at ';
20 
21  return new static($message . $file->getPathname());
22  }
catch(Exception $e) $message
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
+ Here is the caller graph for this function:

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