Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • Symfony\Component\Yaml\Tests\A
  • Symfony\Component\Yaml\Tests\B
  • Symfony\Component\Yaml\Tests\DumperTest
  • Symfony\Component\Yaml\Tests\InlineTest
  • Symfony\Component\Yaml\Tests\ParseExceptionTest
  • Symfony\Component\Yaml\Tests\ParserTest
  • Symfony\Component\Yaml\Tests\YamlTest
  • Overview
  • Namespace
  • Function
  • Tree
 1: <?php
 2: 
 3: namespace Mockery;
 4: 
 5: class ReceivedMethodCalls 
 6: {
 7:     private $methodCalls = array();
 8:     
 9:     public function push(MethodCall $methodCall)
10:     {
11:         $this->methodCalls[] = $methodCall;
12:     }
13: 
14:     public function verify(Expectation $expectation)
15:     {
16:         foreach ($this->methodCalls as $methodCall) {
17:             if ($methodCall->getMethod() !== $expectation->getName()) {
18:                 continue;
19:             }
20: 
21:             if (!$expectation->matchArgs($methodCall->getArgs())) {
22:                 continue;
23:             }
24: 
25:             $expectation->verifyCall($methodCall->getArgs());
26:         }
27: 
28:         $expectation->verify();
29:     }
30: }
31: 
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen