getModel() 공개 메소드

public getModel ( ) : Kraken\Loop\LoopModelInterface
리턴 Kraken\Loop\LoopModelInterface
예제 #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;
 }
예제 #2
0
 /**
  * @override
  * @inheritDoc
  */
 public function swap(LoopExtendedInterface $loop, $all = false)
 {
     $this->loop->swap($loop->getModel(), $all);
     return $this;
 }
예제 #3
0
 /**
  *
  */
 public function testApiGetModel_ReturnsModel()
 {
     $this->assertSame($this->model, $this->loop->getModel());
 }