芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/cloud.pulsehost.co.uk/vendor/plesk/api-php-lib/src/Api/Operator/EventLog.php
request('get'); foreach ($response->event ?? [] as $eventInfo) { $records[] = new Struct\Event($eventInfo); } return $records; } /** * @return Struct\DetailedEvent[] */ public function getDetailedLog(): array { $records = []; $response = $this->request('get_events'); foreach ($response->event ?? [] as $eventInfo) { $records[] = new Struct\DetailedEvent($eventInfo); } return $records; } public function getLastId(): int { return (int) $this->request('get-last-id')->getValue('id'); } }