12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- declare(strict_types=1);
- namespace OCP\AppFramework\Http\Attribute;
- abstract class ARateLimit {
-
- public function __construct(
- protected int $limit,
- protected int $period,
- ) {
- }
-
- public function getLimit(): int {
- return $this->limit;
- }
-
- public function getPeriod(): int {
- return $this->period;
- }
- }
|