Closed mvsantoss closed 8 years ago
Hi, custom purge filters are not working with both auto purge and auto hash enabled. Model Code:
public $autoPurgeRedundantAttributes = true; public $autoHashPasswordAttributes = true; public function __construct(array $attributes = array()) { parent::__construct($attributes); $this->purgeFilters[] = function($key) { $purge = array('avatar'); return !in_array($key, $purge); }; }
I noticed that $forceEntityHydrationFromInput was enabled and causing my problem.
Hi, custom purge filters are not working with both auto purge and auto hash enabled. Model Code: