deleteAllRelations() публичный Метод

clears all relational data from entity and deletes it.
public deleteAllRelations ( $entity )
$entity
Пример #1
0
 /**
  * {@inheritDoc}
  */
 public function deleteAllRelations($entity)
 {
     parent::deleteAllRelations($entity);
     // add bank-accounts for accounts
     $this->deleteBankAccounts($entity);
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function deleteAllRelations($entity)
 {
     parent::deleteAllRelations($entity);
     $this->deleteBankAccounts($entity);
 }