callback = $callback; } /** * Run the update */ public function doUpdate() { call_user_func( $this->callback ); } }