__construct() public method

public __construct ( $id = null )
示例#1
0
 function __construct($id = null)
 {
     //TODO:
     /*
     if (!$id)
     {
         if (substr($sapi_type, 0, 3) == 'cli')
             debug_print_backtrace();
     }
     */
     parent::__construct($id);
     $this->logger = Logger::getLogger(__CLASS__);
 }
示例#2
0
文件: Limits.php 项目: mheydt/scalr
 public function __construct($id = null)
 {
     parent::__construct($id);
     $this->isBillingEnabled = \Scalr::config('scalr.billing.enabled');
 }
示例#3
0
 function __construct($id = null)
 {
     parent::__construct($id);
     $this->logger = Logger::getLogger(__CLASS__);
 }
示例#4
0
 function __construct($id = null)
 {
     parent::__construct($id);
     $this->logger = \Scalr::getContainer()->logger(__CLASS__);
 }
示例#5
0
 public function __construct($id = null)
 {
     parent::__construct($id);
     $this->isBillingEnabled = false;
 }