title: User Class In OOP
body: <p>I was started my learing in OOP and I make a class but I have a problem now. This is my little code:</p>
  
  <pre><code>class User {
  
      public $name;
      public $age;
      public $city;
  
      public function setDate($setName, $setAge, $setCity) 
      {
          $this-&gt;name = $setName;
          $this-&gt;age = $setAge;
          $this-&gt;city = $setCity;
      }
  
      public function pullDate()
      {
          return $this-&gt;name;
          return $this-&gt;age;
          return $this-&gt;city;
      }
  
  }
  
  $newUser = new User;
  $newUser-&gt;setDate('Adrian', '23', 'Poland');
  echo $newUser-&gt;pullDate();
  </code></pre>
  
  <p>And when I get variable by <code>echo $newUser-&gt;pullDate();</code> in response recerive only 'Adrian' ... How I can fix it?</p>
  
  <p>Thanks for help!</p>