PHP Class Mmoreram\PHPFormatter\Fixer\HeaderFixer

Inheritance: implements Mmoreram\PHPFormatter\Fixer\Interfaces\FixerInterface
Datei anzeigen Open project: mmoreram/php-formatter Class Usage Examples

Protected Properties

Property Type Description
$header string Header

Public Methods

Method Description
__construct ( string $header ) Construct method.
fix ( string $data ) : string Fix any piece of code given as parameter.

Method Details

__construct() public method

Construct method.
public __construct ( string $header )
$header string Header

fix() public method

Fix any piece of code given as parameter.
public fix ( string $data ) : string
$data string Data
return string Data fixed

Property Details

$header protected_oe property

Header
protected string $header
return string