TYPO3  7.6
ConfigurableSpool.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2009 Fabien Potencier <fabien.potencier@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
16 abstract class Swift_ConfigurableSpool implements Swift_Spool
17 {
19  private $_message_limit;
20 
22  private $_time_limit;
23 
29  public function setMessageLimit($limit)
30  {
31  $this->_message_limit = (int) $limit;
32  }
33 
39  public function getMessageLimit()
40  {
41  return $this->_message_limit;
42  }
43 
49  public function setTimeLimit($limit)
50  {
51  $this->_time_limit = (int) $limit;
52  }
53 
59  public function getTimeLimit()
60  {
61  return $this->_time_limit;
62  }
63 }