I'm doing this software in PHP for my final school work and i must use OOP. I have this class "user" and it doesn't have any attributes in it, just methods(things the user can do like: register, post and background actions like encrypting it's password). I want to know if this is ok or not, the code works and all but i want to make sure i'm using OOP in PHP well. My class looks like this:
class user{
function cryptPass($input){code}
function regist_user($name,$email,$gender,$dob,$password){code}
--more methods--
}
Should i keep doing this or is it mandatory to have attributes up there for the user?