/** * @override * @inheritDoc */ public function setLoop(LoopExtendedInterface $loop = null) { $this->loop = $loop; $this->loopBackup = $loop !== null ? new Loop($this->reflect($this->loop->getModel())) : $loop; }
/** * @override * @inheritDoc */ public function swap(LoopExtendedInterface $loop, $all = false) { $this->loop->swap($loop->getModel(), $all); return $this; }
/** * */ public function testApiGetModel_ReturnsModel() { $this->assertSame($this->model, $this->loop->getModel()); }