Copied!
CloneableFinal
Methods
public caseSensitive() : self
public getRegex() : string
 
  • internal
  • psalm-return non-empty-string
public static join(self $definitions) : self
public static oneOf(string $str) : self
 

Match any of the given strings (case-insensitive)

public static regex(string $regex) : self
 

Match a partial regular expression without starting/ending delimiters, anchors, or flags

public static string(string $str) : self
 

Match the given string (case-insensitive)

Properties
private bool $caseSensitive
private string $regex
Methods
private __construct(string $regex, bool $caseSensitive = false)
Methods
public static join(self $definitions) : self
public static oneOf(string $str) : self
 

Match any of the given strings (case-insensitive)

public static regex(string $regex) : self
 

Match a partial regular expression without starting/ending delimiters, anchors, or flags

public static string(string $str) : self
 

Match the given string (case-insensitive)

© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration