public static function remove(&$map, $args)
    {
        self::assertArgsNumber(1, $args);

        $key = $args[0];
        if (isset($map[$key])) {
            unset($map[$key]);
        }
    }
public static function remove(&$map, $args)
    {
        self::assertArgsNumber(1, $args);

        $key = $args[0];
        if (isset($map[$key])) {
            unset($map[$key]);
        }
    }
public static function remove ( & $ map , $ args ) { self :: assertArgsNumber ( 1 , $ args ) ; $ key = $ args [ 0 ] ; if ( isset ( $ map [ $ key ] ) ) { unset ( $ map [ $ key ] ) ; } }
Removes an element from the map.

@param  array|Traversable $map
@param  array $args
Removes an element from the map .