src/Actions/ManagesWorkers.php
public function workers($serverId, $siteId)
    {
        return $this->transformCollection(
            $this->get("servers/$serverId/sites/$siteId/workers")['workers'],
            Worker::class,
            ['server_id' => $serverId, 'site_id' => $siteId]
        );
    }
public function workers($serverId, $siteId)
    {
        return $this->transformCollection(
            $this->get("servers/$serverId/sites/$siteId/workers")['workers'],
            Worker::class,
            ['server_id' => $serverId, 'site_id' => $siteId]
        );
    }
public function workers ( $ serverId , $ siteId ) { return $ this -> transformCollection ( $ this -> get ( "servers/$serverId/sites/$siteId/workers" ) [ 'workers' ] , Worker :: class , [ 'server_id' => $ serverId , 'site_id' => $ siteId ] ) ; }
Get the collection of workers.

@param  integer $serverId
@param  integer $siteId
@return Worker[]
Get the collection of workers .