Scalr\Upgrade\UpgradeHandler::__construct PHP 메소드

__construct() 공개 메소드

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';
    }