class runtime_exception extends runtime_exception

Base class for exceptions thrown when managing packages through composer

Methods

__construct(string $prefix, string $message = '', array $parameters = [], Exception $previous = null, int $code = 0)

Constructor

array
get_parameters()

Return the arguments associated with the message if it's a language var.

Details

at line 32
__construct(string $prefix, string $message = '', array $parameters = [], Exception $previous = null, int $code = 0)

Constructor

Parameters

string $prefix

The language string prefix

string $message

The Exception message to throw (must be a language variable).

array $parameters

The parameters to use with the language var.

Exception $previous

The previous runtime_exception used for the runtime_exception chaining.

int $code

The Exception code.

in runtime_exception at line 48
array get_parameters()

Return the arguments associated with the message if it's a language var.

Return Value

array