function __construct($params, $up, $down) { $this->params = $params; $this->up = $up; $this->down = $down; }