Scalr\Modules\AbstractPlatformModule::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        $this->container = \Scalr::getContainer();
        $this->db = $this->container->adodb;
    }

Usage Example

 /**
  * Constructor
  *
  * @param    string     $platform   optional  the name of the platform
  */
 public function __construct($platform = null)
 {
     parent::__construct();
     $this->platform = $platform;
 }
All Usage Examples Of Scalr\Modules\AbstractPlatformModule::__construct