Modify mock generator class for support iteratorAgregate Interface

I modify mock generator class for support iteratorAggregate interface

Before : 

    $test = new \mock\iteratorAggregate;

   return 

    Class mock\iteratorAggregate cannot implement both IteratorAggregate and Iterator at the    same time