Replace_File_Contents
in package
Handles the replacement of file contents.
Table of Contents
Properties
- $block_details : Block_Details
- The class for holding the block details.
- $block_replacements : Block_Replacements
- The class for holding the block replacements.
Methods
- __construct() : mixed
- Constructor.
- handle() : mixed
- Runs the replacements.
Properties
$block_details
The class for holding the block details.
protected
Block_Details
$block_details
$block_replacements
The class for holding the block replacements.
protected
Block_Replacements
$block_replacements
Methods
__construct()
Constructor.
public
__construct(Block_Details $block_details, Block_Replacements $block_replacements) : mixed
Parameters
- $block_details : Block_Details
- $block_replacements : Block_Replacements
handle()
Runs the replacements.
protected
handle() : mixed