Zepi/Web/AccessControl/src/Entity/User.php
protected function saltPassword($password)
    {
        if (isset($this->metaData['salt'])) {
            $salt = $this->metaData['salt'];
        } else {
            $salt = $this->generateSalt();
        }
        
        return $salt . $password;
    }
protected function saltPassword($password)
    {
        if (isset($this->metaData['salt'])) {
            $salt = $this->metaData['salt'];
        } else {
            $salt = $this->generateSalt();
        }
        
        return $salt . $password;
    }
protected function saltPassword ( $ password ) { if ( isset ( $ this -> metaData [ 'salt' ] ) ) { $ salt = $ this -> metaData [ 'salt' ] ; } else { $ salt = $ this -> generateSalt ( ) ; } return $ salt . $ password ; }
Returns the salted password

@access protected
@param string $password
@return string
Returns the salted password