| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
- * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
- *
- * Licensed under The MIT License
- * For full copyright and license information, please see the LICENSE.txt
- * Redistributions of files must retain the above copyright notice
- *
- * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
- * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
- * @since 3.1.0
- * @license http://www.opensource.org/licenses/mit-license.php MIT License
- */
- namespace TestApp\Mailer;
- use Cake\Mailer\Mailer;
- /**
- * Test Suite Test App Mailer class.
- */
- class TestMailer extends Mailer
- {
- public function getEmailForAssertion()
- {
- return $this->_email;
- }
- public function reset()
- {
- $this->template = $this->viewBuilder()->template();
- return parent::reset();
- }
- }
|