Returns whether or not the model will purge
attributes before saving.
public getPurging ( ) : boolean | ||
리턴 | boolean |
/** * Check if purging is enabled and then purge the attributes * that need purging. * * @param Esensi\Model\Contracts\PurgingModelInterface $model * @param string $event name */ protected function performPurging(PurgingModelInterface $model, $event) { if ($model->getPurging()) { $model->purgeAttributes(); } }