private function setItems(array $items)
    {
        $this->items = array_merge($this->defaults, $items);

        $this->checkAttributes();

        return $this;
    }
private function setItems(array $items)
    {
        $this->items = array_merge($this->defaults, $items);

        $this->checkAttributes();

        return $this;
    }
private function setItems ( array $ items ) { $ this -> items = array_merge ( $ this -> defaults , $ items ) ; $ this -> checkAttributes ( ) ; return $ this ; }
Set items.

@param  array  $items

@return self
Set items .