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.

deprecated

 Methods

__construct()

__construct() 

Get the last message sent.

getLastMessage() : \Zend\Mail\Message
Inherited

inherited_from \Zend\Mail\Transport\InMemory::getLastMessage()

Returns

Takes the last message and saves it for testing.

send(\Zend\Mail\Message $message) : 
Inherited

inherited_from \Zend\Mail\Transport\InMemory::send()

Parameters

Returns

 Properties

 

$lastMessage

$lastMessage : \Zend\Mail\Message
Inherited

inherited_from \Zend\Mail\Transport\InMemory::$$lastMessage