AMQPChannel::startTransaction PHP Method

startTransaction() public method

This method must be called on the given channel prior to calling AMQPChannel::commitTransaction() or AMQPChannel::rollbackTransaction().
public startTransaction ( ) : boolean
return boolean TRUE on success or FALSE on failure.
    public function startTransaction()
    {
    }

Usage Example

示例#1
0
 /**
  * @return bool
  */
 public function startTransaction()
 {
     if (!$this->isInitialized()) {
         $this->initialize();
     }
     return $this->channel->startTransaction();
 }
All Usage Examples Of AMQPChannel::startTransaction