public function addItem($name, $value = null, $where = '')
    {
        if (!$this->hasItem($name)) {
            $this->setItem($name, $value, $where);
        }

        return $this;
    }
public function addItem($name, $value = null, $where = '')
    {
        if (!$this->hasItem($name)) {
            $this->setItem($name, $value, $where);
        }

        return $this;
    }
public function addItem ( $ name , $ value = null , $ where = '' ) { if ( ! $ this -> hasItem ( $ name ) ) { $ this -> setItem ( $ name , $ value , $ where ) ; } return $ this ; }
Adds an item. Doesn't touch if already exists.
@param string       $name  item name
@param array        $value item value
@param string|array $where where to put, @see setItem
@return $this for chaining
Adds an item . Doesn t touch if already exists .