PHP Class Flitch\Rule\Loader

Datei anzeigen Open project: dasprid/flitch Class Usage Examples

Protected Properties

Property Type Description
$globalPath string Global standards path.
$localPath string Local standards path.

Public Methods

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

Method Details

__construct() public method

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

load() public method

Load a rule.
public load ( string $ruleName ) : RuleInterface
$ruleName string
return RuleInterface

Property Details

$globalPath protected_oe property

Global standards path.
protected string $globalPath
return string

$localPath protected_oe property

Local standards path.
protected string $localPath
return string