3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Mail\Transport
;
13 * Stub class for backwards compatibility.
15 * Since PHP 7 adds "null" as a reserved keyword, we can no longer have a class
16 * named that and retain PHP 7 compatibility. The original class has been
17 * renamed to "InMemory", and this class is now an extension of it. It raises an
18 * E_USER_DEPRECATED to warn users to migrate.
22 class Null extends InMemory
24 public function __construct()
28 'The class %s has been deprecated; please use %s\\InMemory',