From the documentation, it seems you have to call the read method
<?php
$workers = $client->taskrouter->v1
->workspaces("WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
->workers
->read([], 20);
foreach ($workers as $worker) {
print_r($worker);
}