PHP Class SimpleSAML\Error\ConfigurationError

Inheritance: extends SimpleSAML_Error_Error
Show file Open project: simplesamlphp/simplesamlphp

Protected Properties

Property Type Description
$config_file null | string The configuration file that caused this exception.
$reason null | string The reason for this exception.

Public Methods

Method Description
__construct ( string | null $reason = null, string | null $file = null, array $config = null ) ConfigurationError constructor.
getConfFile ( ) : null | string Get the configuration file that caused this exception.
getReason ( ) : null | string Get the reason for this exception.

Method Details

__construct() public method

ConfigurationError constructor.
public __construct ( string | null $reason = null, string | null $file = null, array $config = null )
$reason string | null The reason for this exception.
$file string | null The configuration file that originated this error.
$config array The configuration array that led to this problem.

getConfFile() public method

Get the configuration file that caused this exception.
public getConfFile ( ) : null | string
return null | string The configuration file that caused this exception.

getReason() public method

Get the reason for this exception.
public getReason ( ) : null | string
return null | string The reason for this exception.

Property Details

$config_file protected property

The configuration file that caused this exception.
protected null|string $config_file
return null | string

$reason protected property

The reason for this exception.
protected null|string $reason
return null | string