protected function getSerializeUser($user1, $user2)
    {
        $user = [];
        $user['one'] = ($user1 < $user2) ? $user1 : $user2;
        $user['two'] = ($user1 < $user2) ? $user2 : $user1;

        return $user;
    }
protected function getSerializeUser($user1, $user2)
    {
        $user = [];
        $user['one'] = ($user1 < $user2) ? $user1 : $user2;
        $user['two'] = ($user1 < $user2) ? $user2 : $user1;

        return $user;
    }
protected function getSerializeUser ( $ user1 , $ user2 ) { $ user = [ ] ; $ user [ 'one' ] = ( $ user1 < $ user2 ) ? $ user1 : $ user2 ; $ user [ 'two' ] = ( $ user1 < $ user2 ) ? $ user2 : $ user1 ; return $ user ; }
make two users as serialize with ascending order.

@param int $user1
@param int $user2

@return array
make two users as serialize with ascending order .