Calls receiver & manager.
- Author
 - Konstantin Kudryashov ever..nosp@m.zet@.nosp@m.gmail.nosp@m..com 
 
 
◆ __construct()
      
        
          | Prophecy\Call\CallCenter::__construct  | 
          ( | 
          StringUtil  | 
          $util = null | ) | 
           | 
        
      
 
Initializes call center.
- Parameters
 - 
  
  
 
 
 
◆ findCalls()
Searches for calls by method name & arguments wildcard.
- Parameters
 - 
  
    | string | $methodName |  | 
    | ArgumentsWildcard | $wildcard |  | 
  
   
- Returns
 - Call[] 
 
 
 
◆ makeCall()
      
        
          | Prophecy\Call\CallCenter::makeCall  | 
          ( | 
          ObjectProphecy  | 
          $prophecy,  | 
        
        
           | 
           | 
            | 
          $methodName,  | 
        
        
           | 
           | 
          array  | 
          $arguments  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Makes and records specific method call for object prophecy.
- Parameters
 - 
  
    | ObjectProphecy | $prophecy |  | 
    | string | $methodName |  | 
    | array | $arguments |  | 
  
   
- Returns
 - mixed Returns null if no promise for prophecy found or promise return value.
 
- Exceptions
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: