public function difference($items)
    {
        if ($this->isArrayable($items))
        {
            return new static(array_diff_key($this->items, $this->retrieveValue($items)));
        }

        throw new BadMethodCallException('Argument 1 should be array, Container or implement ArrayableContract');
    }
public function difference($items)
    {
        if ($this->isArrayable($items))
        {
            return new static(array_diff_key($this->items, $this->retrieveValue($items)));
        }

        throw new BadMethodCallException('Argument 1 should be array, Container or implement ArrayableContract');
    }
public function difference ( $ items ) { if ( $ this -> isArrayable ( $ items ) ) { return new static ( array_diff_key ( $ this -> items , $ this -> retrieveValue ( $ items ) ) ) ; } throw new BadMethodCallException ( 'Argument 1 should be array, Container or implement ArrayableContract' ) ; }
Calculate difference of Container and given Arrayable.

@param mixed $items
@return static
Calculate difference of Container and given Arrayable .