SortingPhotosException
extends RuntimeException
Table of Contents
-
DIRECTORY_IS_EMPTY
= 'The directory %s is empty'
-
FAILED_CREATE_FOLDER
= 'Failed to create a folder %s'
-
FAILED_EXTRACT_METADATA
= 'Failed to extract file %s metadata'
-
FILE_EXISTS
= 'The file %s already exists'
-
NO_SUCH_DIRECTORY
= 'There %s is no such directory'
-
NOT_COPY_FILE
= 'Couldn't copy the file %s'
-
directoryIsEmpty()
: self
-
failedCreateFolder()
: self
-
failedExtractMetadata()
: self
-
fileExists()
: self
-
noSuchDirectory()
: self
-
notCopyFile()
: self
DIRECTORY_IS_EMPTY
private
mixed
DIRECTORY_IS_EMPTY
= 'The directory %s is empty'
FAILED_CREATE_FOLDER
private
mixed
FAILED_CREATE_FOLDER
= 'Failed to create a folder %s'
private
mixed
FAILED_EXTRACT_METADATA
= 'Failed to extract file %s metadata'
FILE_EXISTS
private
mixed
FILE_EXISTS
= 'The file %s already exists'
NO_SUCH_DIRECTORY
private
mixed
NO_SUCH_DIRECTORY
= 'There %s is no such directory'
NOT_COPY_FILE
private
mixed
NOT_COPY_FILE
= 'Couldn't copy the file %s'
directoryIsEmpty()
public
static directoryIsEmpty(string $dir) : self
Parameters
-
$dir
: string
-
Return values
self
—
failedCreateFolder()
public
static failedCreateFolder(string $dir) : self
Parameters
-
$dir
: string
-
Return values
self
—
public
static failedExtractMetadata(string $filePath) : self
Parameters
-
$filePath
: string
-
Return values
self
—
fileExists()
public
static fileExists(string $file) : self
Parameters
-
$file
: string
-
Return values
self
—
noSuchDirectory()
public
static noSuchDirectory(string $dir) : self
Parameters
-
$dir
: string
-
Return values
self
—
notCopyFile()
public
static notCopyFile(string $file) : self
Parameters
-
$file
: string
-
Return values
self
—