protected function uniqueRecursive($items)
    {
        foreach ($items as $key => $item)
        {
            if ($this->isArrayable($item))
            {
                $this->items[$key] = $this->uniqueRecursive($this->retrieveValue($item));
            }
        }

        return array_unique($this->items);
    }
protected function uniqueRecursive($items)
    {
        foreach ($items as $key => $item)
        {
            if ($this->isArrayable($item))
            {
                $this->items[$key] = $this->uniqueRecursive($this->retrieveValue($item));
            }
        }

        return array_unique($this->items);
    }
protected function uniqueRecursive ( $ items ) { foreach ( $ items as $ key => $ item ) { if ( $ this -> isArrayable ( $ item ) ) { $ this -> items [ $ key ] = $ this -> uniqueRecursive ( $ this -> retrieveValue ( $ item ) ) ; } } return array_unique ( $ this -> items ) ; }
Unique items recursively.

@param $items
@return array
Unique items recursively .