private function applyTransaction($obj) { if (null !== $this->str_next_transaction) { $obj->setTransaction($this->str_next_transaction); $this->str_next_transaction = null; } return $obj; }