I've got a Class with a few functions inside a wordpress wordpress plugin such as this:

Class MY_Box{
......
 function zzz(){
   if (...){
   $this->$box_data= $this->box()->key();
   }
 }
......
}

Now, in another wordpress plugin, I wish to save the variable $box_data into publish meta. How do i get it done?