Jack Wilshere has hit out at West Ham for a lack of opportunities after negotiating the termination of his contract in east London.