FileManipulation
in package
FinalYes
Table of Contents
Properties
- $end : int
- $insertion_text : string
- $preserve_indentation : bool
- $remove_trailing_newline : bool
- $start : int
Methods
- __construct() : mixed
- getKey() : string
- transform() : string
Properties
$end
public
int
$end
$insertion_text
public
string
$insertion_text
$preserve_indentation
public
bool
$preserve_indentation
= false
$remove_trailing_newline
public
bool
$remove_trailing_newline
= false
$start
public
int
$start
Methods
__construct()
public
__construct(int $start, int $end, string $insertion_text[, bool $preserve_indentation = false ][, bool $remove_trailing_newline = false ]) : mixed
Parameters
- $start : int
- $end : int
- $insertion_text : string
- $preserve_indentation : bool = false
- $remove_trailing_newline : bool = false
getKey()
public
getKey() : string
Return values
stringtransform()
public
transform(string $existing_contents) : string
Parameters
- $existing_contents : string