Statement iterator

Declare the class explained in this article https://github.com/Faryshta/Community/tree/gh-pages/snippets/StatementIterator