public function get($attributeName) { Assert::notNull($attributeName, "Model attribute name must not be null"); Assert::arrayNotHasKey($attributeName, $this->map, "this Model the not has '{$attributeName}'."); return $this->map[$attributeName]; }