◆ __construct()
      
        
          | __construct  | 
          ( | 
            | 
          $verbose = false | ) | 
           | 
        
      
 
Initalize a Migration object (optionally using verbose output).
- Parameters
 - 
  
    | boolean | $verbose | verbose output (default FALSE)  | 
  
   
 
 
◆ announce()
Print the given formatted string (if verbose output is enabled). Output always includes the migration's class name.
- Parameters
 - 
  
    | string | $format,... | printf-style format string and parameters  | 
  
   
 
 
◆ description()
Abstract method describing this migration step. This method should be implemented in a migration subclass.
- Returns
 - string migration description 
 
 
 
◆ down()
Abstract method reverting this migration step. This method should be implemented in a migration subclass. 
 
 
◆ migrate()
Perform or revert this migration, depending on the indicated direction.
- Parameters
 - 
  
    | string | $direction | migration direction (either 'up' or 'down')  | 
  
   
 
 
◆ setVerbose()
      
        
          | setVerbose  | 
          ( | 
            | 
          $state = true | ) | 
           | 
        
      
 
Sets the verbose state of this migration. 
- Parameters
 - 
  
    | boolean | $state | Verbosity state  | 
  
   
 
 
◆ up()
Abstract method performing this migration step. This method should be implemented in a migration subclass. 
 
 
◆ write()
Print the given string (if verbose output is enabled).
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: