setFetchDepth() public method

Be aware the the actual Session->getNode call does not return all the children. This setting only tells the transport to preemptively fetch all the children from the backend.
public setFetchDepth ( integer $depth )
$depth integer The depth with which the nodes should be fetched.
 /**
  * {@inheritDoc}
  */
 public function setFetchDepth($depth)
 {
     $this->transport->setFetchDepth($depth);
 }