kernel/classes/notification/eznotificationtransport.php
\eZNotificationTransport
Package:
- Children
- \eZMailNotificationTransport
Methods


instance(
string | false $transport
=
false, bool $forceNewInstance
=
false
)
:
\eZNotificationTransport
static
Returns a shared instance of the eZNotificationTransport class.
Parameters
Returns
Name | Type | Description |
---|---|---|
$transport | string | false | Uses notification.ini[TransportSettings]DefaultTransport if false |
$forceNewInstance | bool |
Type | Description |
---|---|
\eZNotificationTransport |