Attach the aggregate to the specified event manager
Parameters: | EventManagerInterface – |
---|---|
Return type: | void |
Detach aggregate listeners from the specified event manager
Parameters: | EventManagerInterface – |
---|---|
Return type: | void |
Flag: display exceptions in error pages?
Parameters: | bool – |
---|---|
Return type: | ExceptionStrategy |
Should we display exceptions in error pages?
Return type: | bool |
---|
Get current template for message that will be shown in Console.
Return type: | string |
---|
Set template for message that will be shown in Console. The message can be a string (template) or a callable (i.e. a closure).
If the message is a string, one can use the following template params:
:className - full class name of exception instance :message - exception message :code - exception code :file - the file where the exception has been thrown :line - the line where the exception has been thrown :stack - full exception stack
Parameters: | string|callable – |
---|---|
Return type: | ExceptionStrategy |