PHP Class Mmoreram\PHPFormatter\Fixer\HeaderFixer

Inheritance: implements Mmoreram\PHPFormatter\Fixer\Interfaces\FixerInterface
Afficher le fichier Open project: mmoreram/php-formatter Class Usage Examples

Protected Properties

Свойство Type Description
$header string Header

Méthodes publiques

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

Method Details

__construct() public méthode

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

fix() public méthode

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

Property Details

$header protected_oe property

Header
protected string $header
Résultat string