(string) Required. The first name of the user,user * 'last_name' => (string) Required. The last name of the user, * 'email' => (string) Required. The email of the user, * 'password' => (string) Optional. The password of the user, * ] * @param array $params Optional. Additional parameters for creating an user. * [ * // Include optional parameters, if any. * ] * */ public static function create($data, $params = []) { (new User())->register($data); } public static function login($data) { (new User())->login($data); } public static function update($data, $id, $params = []) { // TODO: Implement update() method. } public static function delete($id, $params = []) { // TODO: Implement delete() method. } }