protected function unsetSensitiveFields(Entity\Users $entity)
    {
        $entity->setPassword(null);
        $entity->setShadowpassword(null);
        $entity->setShadowtoken(null);
        $entity->setShadowvalidity(null);
    }
protected function unsetSensitiveFields(Entity\Users $entity)
    {
        $entity->setPassword(null);
        $entity->setShadowpassword(null);
        $entity->setShadowtoken(null);
        $entity->setShadowvalidity(null);
    }
protected function unsetSensitiveFields ( Entity \ Users $ entity ) { $ entity -> setPassword ( null ) ; $ entity -> setShadowpassword ( null ) ; $ entity -> setShadowtoken ( null ) ; $ entity -> setShadowvalidity ( null ) ; }
Null sensitive data that doesn't need to be passed around.

@param Entity\Users $entity
Null sensitive data that doesn t need to be passed around .