twice() публичный Метод

Indicates that this expectation is expected exactly twice
public twice ( ) : self
Результат self
 /**
  * @return $this
  */
 public function twice()
 {
     $this->expectation->twice();
     return $this;
 }