Scalr\Upgrade\UpgradeHandler::__construct PHP Method

__construct() public method

Constructor
public __construct ( object $opt )
$opt object Run options
    public function __construct($opt)
    {
        $this->opt = $opt;
        $this->db = \Scalr::getDb();
        $this->console = new Console();
        $this->console->interactive = !empty($opt->interactive);
        $this->updates = new UpdateCollection();
        $this->maxDate = '2013-01-01 00:00:00';
    }