/ */ class P4_Connection_ConflictException extends P4_Connection_CommandException { /** * Returns a P4_Change object for the changelist the conflict files live in. */ public function getChange() { preg_match( '/submit -c ([0-9]+)/', implode($this->getResult()->getErrors()), $matches ); return P4_Change::fetch($matches[1], $this->getConnection()); } }