User Class - PHP
$5
$5
https://schema.org/InStock
usd
Marina Oliveira
The project consists of creating a class called "User" with four attributes: name, login, password, and confirmPassword.
- The class will have a constructor responsible for receiving the name and login and initializing the values of these attributes.
- Additionally, accessor methods will be implemented for each of the attributes, allowing the values to be read and updated externally.
- The "User" class will also have a special method called "verify" that will perform validation on the filled attributes and check if the password matches the confirmPassword.
If all attributes are filled, and the password matches the confirmPassword, the method will emit a message indicating that the user validation was successful!
0 sales
The User class uses object-oriented technology in PHP!
Size
4.28 KB
Add to wishlist