Prophet creates prophecies.
- Author
 - Konstantin Kudryashov ever..nosp@m.zet@.nosp@m.gmail.nosp@m..com 
 
 
◆ __construct()
Initializes Prophet.
- Parameters
 - 
  
    | null | Doubler | $doubler |  | 
    | null | RevealerInterface | $revealer |  | 
    | null | StringUtil | $util |  | 
  
   
 
 
◆ checkPredictions()
      
        
          | Prophecy\Prophet::checkPredictions  | 
          ( | 
           | ) | 
           | 
        
      
 
Checks all predictions defined by prophecies of this Prophet.
- Exceptions
 - 
  
  
 
 
 
◆ getDoubler()
      
        
          | Prophecy\Prophet::getDoubler  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getProphecies()
      
        
          | Prophecy\Prophet::getProphecies  | 
          ( | 
           | ) | 
           | 
        
      
 
Returns all created object prophecies.
- Returns
 - ObjectProphecy[] 
 
 
 
◆ prophesize()
      
        
          | Prophecy\Prophet::prophesize  | 
          ( | 
            | 
          $classOrInterface = null | ) | 
           | 
        
      
 
Creates new object prophecy.
- Parameters
 - 
  
    | null | string | $classOrInterface | Class or interface name | 
  
   
- Returns
 - ObjectProphecy 
 
 
 
The documentation for this class was generated from the following file: