src/ArrayLib.php
/**
     * Wrap all of elements in an array with the string (before and after) 
     * e.g. wrapElements on array(foo,bar), "`" would create array(`foo`,`bar`)
     * @param $inputArray - array we are going to create our wrapped array from
     * @param $wrapString - string of characters we wish to wrap with.
     * @return array
     */
Wrap all of elements in an array with the string (before and after)
e.g.
Wrap all of elements in an array with the string ( before and after ) e . g .
public static function wrapElements($inputArray, $wrapString)
    {
        foreach ($inputArray as &$value)
        {
            $value = $wrapString . $value . $wrapString;
        }
        return $inputArray;
    }
public static function wrapElements ( $ inputArray , $ wrapString ) { foreach ( $ inputArray as & $ value ) { $ value = $ wrapString . $ value . $ wrapString ; } return $ inputArray ; }
Wrap all of elements in an array with the string (before and after)
 e.g.
Wrap all of elements in an array with the string ( before and after ) e . g .