title: how to check if methods parameter is a stdClass Object
body: <p>I am passing <code>$row</code> which has been assigned <code>$statement-&gt;fetchAll();</code> to it I am passing it to another class and I want to check if it's an stdClass Object within the method, for example if I wanted to check if it was an array I would do  </p>
  
  <pre><code>public function hello(array $row)
  </code></pre>
  
  <p>how would I do it to check if it was a stdClass Object ? </p>
  
  <p>Finally is this called type hinting ? </p>