detach() public method

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