public function __construct($dn, BatchCollection $batch = null) { $this->properties['dn'] = $dn; $this->properties['batch'] = $batch; }