Fully Qualified Name: | Zend\Mail\Transport\Null |
Extends: | InMemory |
Stub class for backwards compatibility.
Since PHP 7 adds "null" as a reserved keyword, we can no longer have a class named that and retain PHP 7 compatibility. The original class has been renamed to "InMemory", and this class is now an extension of it. It raises an E_USER_DEPRECATED to warn users to migrate.
Name | Description | Defined By |
---|---|---|
__construct() | Null | |
getLastMessage() | Get the last message sent. | InMemory |
send() | Takes the last message and saves it for testing. | InMemory |
Returns: void
Get the last message sent.
Returns: \Message
Takes the last message and saves it for testing.
Parameter Name | Type | Description |
---|---|---|
$message | \Message |
Returns: