resp = $this->call(Endpoints::WORK->value)->params([ WorkTable::IS_LISTED->value => true ])->get(); } private function get_item(string $key): array { $idx = array_search($key, array_column($this->resp->json(), WorkTable::ID->value)); return $this->resp->json()[$idx]; } public function get_summary(string $key): string { return $this->resp->ok ? $this->get_item($key)[WorkTable::SUMMARY->value] : self::ERROR_MSG; } } ?>

vegvisir

get_summary("vlw/vegvisir") ?>

reflect

get_summary("vlw/reflect") ?>

latest projects