public function delete($id) { $entity = $this->get($id); foreach ($entity->attributes as $index => $attribute) { $this->deleteAttribute($attribute); } parent::delete($id); }
public function delete($id) { return parent::delete($id); }