title: Is it ok to have an object without attributes?
body: <p>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:</p>
  
  <pre><code>class user{
      function cryptPass($input){code}
      function regist_user($name,$email,$gender,$dob,$password){code}
      --more methods--
    }
  </code></pre>
  
  <p>Should i keep doing this or is it mandatory to have attributes up there for the user?</p>