Ouzo\Tests\Mock\SimpleMock::getMatchingStubbedCalls PHP Method

getMatchingStubbedCalls() private method

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;
    }