public function __construct(array $items = null) { foreach ((array) $items as $item) { $this->add($item); } }