private function applyTransaction($obj)
    {
        if(null !== $this->str_next_transaction) {
            $obj->setTransaction($this->str_next_transaction);
            $this->str_next_transaction = null;
        }
        return $obj;
    }
private function applyTransaction($obj)
    {
        if(null !== $this->str_next_transaction) {
            $obj->setTransaction($this->str_next_transaction);
            $this->str_next_transaction = null;
        }
        return $obj;
    }
private function applyTransaction ( $ obj ) { if ( null !== $ this -> str_next_transaction ) { $ obj -> setTransaction ( $ this -> str_next_transaction ) ; $ this -> str_next_transaction = null ; } return $ obj ; }
Apply a transaction to an object

@param $obj
@return mixed
Apply a transaction to an object