getModel() public method

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