PHP Class Flitch\Rule\Loader

Afficher le fichier Open project: dasprid/flitch Class Usage Examples

Protected Properties

Свойство Type Description
$globalPath string Global standards path.
$localPath string Local standards path.

Méthodes publiques

Méthode Description
__construct ( string $globalPath, string $localPath ) : void Create a new rule loader.
load ( string $ruleName ) : RuleInterface Load a rule.

Method Details

__construct() public méthode

Create a new rule loader.
public __construct ( string $globalPath, string $localPath ) : void
$globalPath string
$localPath string
Résultat void

load() public méthode

Load a rule.
public load ( string $ruleName ) : RuleInterface
$ruleName string
Résultat RuleInterface

Property Details

$globalPath protected_oe property

Global standards path.
protected string $globalPath
Résultat string

$localPath protected_oe property

Local standards path.
protected string $localPath
Résultat string