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