/
aavilyavdo
/
GoProtect-test
Обзор
Документация
Войти
/
aavilyavdo
/
GoProtect-test
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
models/ExchangeModel.php
17 строк
486 B
aavilyavdo
update: ExchangeModel.php
06 май 2026, 14:07
Верифицирован
06 май 2026, 14:07
205b2f6
Код
Авторство
О чём код?
<?php class ExchangeModel { private int $from; private int $to; private int $goldPayment; public function __construct(int $from, int $to, int $goldPayment) { $this->from = $from; $this->to = $to; $this->goldPayment = $goldPayment; } public function getFrom(): int { return $this->from; } public function getTo(): int { return $this->to; } public function getGoldPayment(): int { return $this->goldPayment; } }