Microweber\Providers\URLify::init PHP Method

init() private static method

Initializes the character map.
private static init ( )
    private static function init()
    {
        if (count(self::$map) > 0) {
            return;
        }
        foreach (self::$maps as $map) {
            foreach ($map as $orig => $conv) {
                self::$map[$orig] = $conv;
                self::$chars .= $orig;
            }
        }
        self::$regex = '/[' . self::$chars . ']/u';
    }