__construct() public method

public __construct ( $id = null )
コード例 #1
0
ファイル: FarmRoleMetric.php プロジェクト: recipe/scalr
 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
ファイル: FarmRoleMetric.php プロジェクト: mheydt/scalr
 function __construct($id = null)
 {
     parent::__construct($id);
     $this->logger = \Scalr::getContainer()->logger(__CLASS__);
 }
コード例 #5
0
ファイル: Limits.php プロジェクト: rakesh-mohanta/scalr
 public function __construct($id = null)
 {
     parent::__construct($id);
     $this->isBillingEnabled = false;
 }