lib/Accessible/MethodManager/SetManager.php
public static function remove(&$set, $args)
    {
        self::assertArgsNumber(1, $args);

        foreach ($set as $key => $value) {
            if ($value === $args[0]) {
                unset($set[$key]);
                return;
            }
        }
    }
public static function remove(&$set, $args)
    {
        self::assertArgsNumber(1, $args);

        foreach ($set as $key => $value) {
            if ($value === $args[0]) {
                unset($set[$key]);
                return;
            }
        }
    }
public static function remove ( & $ set , $ args ) { self :: assertArgsNumber ( 1 , $ args ) ; foreach ( $ set as $ key => $ value ) { if ( $ value === $ args [ 0 ] ) { unset ( $ set [ $ key ] ) ; return ; } } }
Removes an element from the set.

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