示例#1
0
文件: std.php 项目: xihewang/atoum
 public function __construct(atoum\cli $cli = null, atoum\adapter $adapter = null)
 {
     parent::__construct($adapter);
     $this->setCli($cli);
 }
示例#2
0
文件: mail.php 项目: eroluysal/atoum
 public function __construct(atoum\mailer $mailer = null, atoum\locale $locale = null, atoum\adapter $adapter = null)
 {
     parent::__construct($adapter);
     $this->setMailer($mailer ?: new atoum\mailers\mail())->setLocale($locale ?: new atoum\locale());
 }
示例#3
0
文件: file.php 项目: ronan-gloo/atoum
 public function __construct($filename = null, atoum\adapter $adapter = null)
 {
     parent::__construct($adapter);
     $this->setFilename($filename ?: self::defaultFileName);
 }
示例#4
0
 public function __construct(atoum\adapter $adapter = null)
 {
     parent::__construct($adapter);
     $this->setMethod();
 }