PHP Class PhpCsFixer\FixerDefinition\CodeSample

Author: Dariusz Rumiński ([email protected])
Inheritance: implements PhpCsFixer\FixerDefinition\CodeSampleInterface
Mostra file Open project: friendsofphp/php-cs-fixer

Public Methods

Method Description
__construct ( string $code, array $configuration = null )
getCode ( ) : string
getConfiguration ( ) : null | array

Method Details

__construct() public method

public __construct ( string $code, array $configuration = null )
$code string
$configuration array

getCode() public method

public getCode ( ) : string
return string

getConfiguration() public method

public getConfiguration ( ) : null | array
return null | array