name; } /** * @param $name * @return $this */ public function setName($name) { $this->name = $name; return $this; } /** * @return mixed */ public function getPassword() { return $this->password; } /** * @param $password * @return $this */ public function setPassword($password) { $this->password = $password; return $this; } /** * @return mixed */ public function getId() { return $this->id; } /** * @param $id * @return $this */ public function setId($id) { $this->id = $id; return $this; } /** * @return mixed */ public function getAttrs() { return $this->attrs; } /** * @param $key * @param null $value * @return $this */ public function setAttr($key, $value = null) { $this->attrs[$key] = $value; return $this; } /** * @param $key * @return mixed */ public function getAttr($key) { return $this->attrs[$key]; } /** * @param $attrs * @return $this */ public function setAttrs($attrs = []) { $this->attrs = $attrs; return $this; } }