I agree with @Ocramius , should be $this->getRolesIterator($children) or $this->createRolesIterator($children);