public static instance ( ) : |
||
Результат | The static matcher. |
public static function instance()
{
if (!self::$instance) {
self::$instance = new self(AnyMatcher::instance(), 0, null);
}
return self::$instance;
}
/** * Get the static instance of this driver. * * @return MatcherDriver The static driver. */ public static function instance() { if (!self::$instance) { self::$instance = new self(WildcardMatcher::instance()); } return self::$instance; }