public function __construct(LoopModelInterface $loop) { $this->loop = $loop; $this->queue = new SplQueue(); }