If you use get_view() and just need it to call a method, I recommend you use properties => ['name'] to minimize the SDK overhead:
$thisDatastore = Vim::get_view(mo_ref => $dsRef, properties => ['name']);
You can also 'hack' out an entity object view as well, if you really wanted to avoid another SDK call to the API (though I'd recommend the get_view() process):
$thisDatastore = new Datastore();
$thisDatastore->{'mo_ref'} = $dsRef;