detach() public method

Detaches Row (it means mark it as non-persisted)
public detach ( )
示例#1
0
 /**
  * Detaches entity
  */
 public function detach()
 {
     $this->row->detach();
     $this->entityFactory = null;
     $this->mapper = null;
 }
示例#2
0
 /**
  * Detaches entity
  */
 public function detach()
 {
     $this->row->detach();
     $this->mapper = null;
 }