PHP Class Spatie\Php7to5\Exceptions\InvalidParameter

Inheritance: extends Exceptio\Exception
Show file Open project: spatie/7to5 Class Usage Examples

Public Methods

Method Description
destinationDirectoryIsSource ( )
destinationExist ( )
directoryDoesNotExist ( string $directoryName ) : InvalidParameter
directoryIsRequired ( ) : InvalidParameter
fileDoesNotExist ( string $fileName ) : InvalidParameter
sourceDoesNotExist ( $sourceName )
wrongDestinationDirectory ( )

Method Details

destinationDirectoryIsSource() public static method

public static destinationDirectoryIsSource ( )

destinationExist() public static method

public static destinationExist ( )

directoryDoesNotExist() public static method

public static directoryDoesNotExist ( string $directoryName ) : InvalidParameter
$directoryName string
return InvalidParameter

directoryIsRequired() public static method

public static directoryIsRequired ( ) : InvalidParameter
return InvalidParameter

fileDoesNotExist() public static method

public static fileDoesNotExist ( string $fileName ) : InvalidParameter
$fileName string
return InvalidParameter

sourceDoesNotExist() public static method

public static sourceDoesNotExist ( $sourceName )

wrongDestinationDirectory() public static method

public static wrongDestinationDirectory ( )