detach() public method

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