public createLoop ( string[] | null $methods = null ) : |
||
$methods | string[] | null | |
return |
public function createLoop($methods = null)
{
$mock = $this->getMock(Loop::class, $methods, [], '', false);
$this->setProtectedProperty($this->model, 'loop', $mock);
return $mock;
}