__construct() public method

public __construct ( $id = null )
Esempio n. 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__);
 }
Esempio n. 2
0
 public function __construct($id = null)
 {
     parent::__construct($id);
     $this->isBillingEnabled = \Scalr::config('scalr.billing.enabled');
 }
Esempio n. 3
0
 function __construct($id = null)
 {
     parent::__construct($id);
     $this->logger = Logger::getLogger(__CLASS__);
 }
Esempio n. 4
0
 function __construct($id = null)
 {
     parent::__construct($id);
     $this->logger = \Scalr::getContainer()->logger(__CLASS__);
 }
Esempio n. 5
0
 public function __construct($id = null)
 {
     parent::__construct($id);
     $this->isBillingEnabled = false;
 }