public static function arrayWrap($input, $wrap)
    {
        $w1 = '';
        $w2 = '';
        if (is_array($wrap)) {
            $w1 = $wrap[0];
            if (isset($wrap[1])) {
                $w2 = $wrap[1];
            }
        } elseif (!is_string($wrap)) {
            throw new \Exception(sprintf('Invalid Type %s for $wrap', gettype($wrap)), 1);
            return false;
        } else {
            $w1 = $wrap;
            $w2 = $wrap;
        }

        return array_map(
           function ($el) use ($w1, $w2) {
              return $w1.$el.$w2;
           },
           $input
        );
    }