public function put($data)
    {
        $this->data = array_merge($this->data, $data);
        return $this->save();
    }
public function put($data)
    {
        $this->data = array_merge($this->data, $data);
        return $this->save();
    }
public function put ( $ data ) { $ this -> data = array_merge ( $ this -> data , $ data ) ; return $ this -> save ( ) ; }
Puts complete data into file.
@param $data
@return int
@throws \Exception
Puts complete data into file .