public function setFromArray(array $data) { foreach ($data as $key => $value) { $this->container[$key] = $value; } return $this; }