/
uchi-pro
/
api-client-php
Обзор
Документация
Войти
/
uchi-pro
/
api-client-php
Код
Запросы
0
Пакеты
0
Релизы
3
Аналитика
master
src/Users/Criteria.php
34 строки
538 B
Andrey Gladyshev
feat: перевести проект на php 8.2. убрать устаревшие методы
31 май 2024, 13:00
31 май 2024, 13:00
5826891
Код
Авторство
О чём код?
<?php declare(strict_types=1); namespace UchiPro\Users; use UchiPro\Vendors\Vendor; class Criteria { public ?string $q = null; public ?Role $role = null; public ?Vendor $vendor = null; public function withQ(string $q): self { $this->q = $q; return $this; } public function withRole(Role $role): self { $this->role = $role; return $this; } public function withVendor(Vendor $vendor): self { $this->vendor = $vendor; return $this; } }