delete() public method

{@inheritDoc}
public delete ( )
Exemplo n.º 1
0
 public function delete()
 {
     if ($this->exists) {
         $this->resume()->delete();
         $this->likes()->delete();
         $this->comments()->delete();
         $this->profileComments()->delete();
         $this->profileRates()->delete();
         $this->rates()->delete();
         $this->xps()->delete();
         $this->edus()->delete();
         $this->skills()->delete();
         $this->langs()->delete();
     }
     parent::delete();
 }