protected function initProcessor(\Psc\Doctrine\Processor $processor) { $processor->onProcessSetField('password', function ($entity, $field, $value, $type) { $entity->hashPassword($value); }); parent::initProcessor($processor); }
protected function initProcessor(\Psc\Doctrine\Processor $processor) { $processor->setSynchronizeCollections('normal'); }