public function __construct(array $list = null) { if (null === $list) { $list = array(); } $this->list = $list; }