| 
|   | __construct (string $from, string $to) | 
|   | Create the replacement.  More...
  | 
|   | 
|   | get_from (string $component) | 
|   | Get the 'from' part of the replacement, formatted for the component.  More...
  | 
|   | 
|   | get_to () | 
|   | Get the 'to' part of the replacement.  More...
  | 
|   | 
◆ __construct()
      
        
          | behat_component_named_replacement::__construct  | 
          ( | 
          string  | 
          $from,  | 
        
        
           | 
           | 
          string  | 
          $to  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Create the replacement. 
- Parameters
 - 
  
    | string | $from | this is the old selector that should no longer be used. For example 'group_message'.  | 
    | string | $to | this is the new equivalent that should be used instead. For example 'core_message > Message'.  | 
  
   
 
 
◆ get_from()
      
        
          | behat_component_named_replacement::get_from  | 
          ( | 
          string  | 
          $component | ) | 
           | 
        
      
 
Get the 'from' part of the replacement, formatted for the component. 
- Parameters
 - 
  
  
 
- Return values
 - 
  
  
 
 
 
◆ get_to()
      
        
          | behat_component_named_replacement::get_to  | 
          ( | 
           | ) | 
           | 
        
      
 
Get the 'to' part of the replacement. 
- Return values
 - 
  
  
 
 
 
The documentation for this class was generated from the following file:
- lib/behat/classes/component_named_replacement.php