Validation
in package
FinalYes
Provides validation closures for {@see NodeDefinition}s.
Tags
Table of Contents
Methods
- ensureRegexPattern() : Closure
- ensureString() : Closure
- stripPrefix() : string
Methods
ensureRegexPattern()
public
static ensureRegexPattern() : Closure
Tags
Return values
ClosureensureString()
public
static ensureString() : Closure
Return values
ClosurestripPrefix()
private
static stripPrefix(string $string, string $prefix) : string
Parameters
- $string : string
- $prefix : string