PHP Class PhpCsFixer\RuleSet

Author: Dariusz Rumiński ([email protected])
Inheritance: implements phpcsfixer\RuleSetInterface
Exibir arquivo Open project: friendsofphp/php-cs-fixer Class Usage Examples

Public Methods

Method Description
__construct ( array $set = [] )
create ( array $set = [] )
getRuleConfiguration ( $rule )
getRules ( )
getSetDefinitionNames ( )
hasRule ( $rule )

Private Methods

Method Description
getSetDefinition ( string $name ) : array Get definition of set.
resolveSet ( ) Resolve input set into group of rules.

Method Details

__construct() public method

public __construct ( array $set = [] )
$set array

create() public static method

public static create ( array $set = [] )
$set array

getRuleConfiguration() public method

public getRuleConfiguration ( $rule )

getRules() public method

public getRules ( )

getSetDefinitionNames() public method

hasRule() public method

public hasRule ( $rule )