Ouzo\Tests\Mock\SimpleMock::getMatchingStubbedCalls PHP 메소드

getMatchingStubbedCalls() 개인적인 메소드

private getMatchingStubbedCalls ( Ouzo\Tests\Mock\MethodCall $methodCall )
$methodCall Ouzo\Tests\Mock\MethodCall
    private function getMatchingStubbedCalls(MethodCall $methodCall)
    {
        $matching = Arrays::filter($this->_stubbed_calls, function (CallStub $stubbed_call) use($methodCall) {
            return $stubbed_call->matches($methodCall);
        });
        return $matching;
    }