public static function randomFor($char)
    {
        $list = self::listForCharacter($char);
        $class = get_called_class();
            
        return new $class($list[rand(0, count($list) - 1)]);

    }
public static function randomFor($char)
    {
        $list = self::listForCharacter($char);
        $class = get_called_class();
            
        return new $class($list[rand(0, count($list) - 1)]);

    }
public static function randomFor ( $ char ) { $ list = self :: listForCharacter ( $ char ) ; $ class = get_called_class ( ) ; return new $ class ( $ list [ rand ( 0 , count ( $ list ) - 1 ) ] ) ; }
Get random string startign with given character

@param $char
@return string
Get random string startign with given character