If you are working in a company that has so many restrictions, it is up to you if you are going to say or not. For them, they just simply going to say, 'Take it or Leave it.' They do not care if you are going to leave because they can still hire other people to replace you instantly.