예제 #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();
 }