analytics/core/Concurrency/DistributedList.php
/**
     * Adds one or more items to the list in the option table.
     *
     * @param string|array $item
     */
Adds one or more items to the list in the option table.
@param string|array $item
Adds one or more items to the list in the option table . @param string|array $item
public function add($item)
    {
        $allItems = $this->getAll();
        if (is_array($item)) {
            $allItems = array_merge($allItems, $item);
        } else {
            $allItems[] = $item;
        }
        $this->setAll($allItems);
    }
public function add ( $ item ) { $ allItems = $ this -> getAll ( ) ; if ( is_array ( $ item ) ) { $ allItems = array_merge ( $ allItems , $ item ) ; } else { $ allItems [ ] = $ item ; } $ this -> setAll ( $ allItems ) ; }
Adds one or more items to the list in the option table.
Adds one or more items to the list in the option table .