public function excepts(array $except)
    {
        $data = [];

        $this->recursive(
            $this->storage,
            function ($value, $key) use (& $data, $except) {
                if (in_array($key, $except)) {
                    $data[$key] = $value;
                }
            }
        );

        return new Collection($data);
    }
public function excepts(array $except)
    {
        $data = [];

        $this->recursive(
            $this->storage,
            function ($value, $key) use (& $data, $except) {
                if (in_array($key, $except)) {
                    $data[$key] = $value;
                }
            }
        );

        return new Collection($data);
    }
public function excepts ( array $ except ) { $ data = [ ] ; $ this -> recursive ( $ this -> storage , function ( $ value , $ key ) use ( & $ data , $ except ) { if ( in_array ( $ key , $ except ) ) { $ data [ $ key ] = $ value ; } } ) ; return new Collection ( $ data ) ; }
Returns the key list and return an instance of Collection.

@param  array $except

@return Collection
Returns the key list and return an instance of Collection .