Dotink\Parody\Mime::expect PHP 메소드

expect() 공개 메소드

Tell an open method what to expect
public expect ( ) : Mime
리턴 Mime The mime for method chaining
    public function expect()
    {
        if (!$this->openMethod) {
            throw new \Exception(sprintf('Cannot set argument expectations without first opening a call'));
        }
        $this->expectation = func_get_args();
        return $this;
    }