📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 18:36:06
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
vendor
/
php-flasher
/
flasher
/
Storage
/
Filter
/
Criteria
📍 /home/orkouolp/web/testing.orkobd/laravel/vendor/php-flasher/flasher/Storage/Filter/Criteria
🔄 Refresh
✏️
Editing: LimitCriteria.php
Writable
<?php declare(strict_types=1); namespace Flasher\Prime\Storage\Filter\Criteria; final readonly class LimitCriteria implements CriteriaInterface { private int $limit; public function __construct(mixed $criteria) { if (!\is_int($criteria)) { throw new \InvalidArgumentException("Invalid type for criteria 'limit'."); } $this->limit = $criteria; } public function apply(array $envelopes): array { return \array_slice($envelopes, 0, $this->limit, true); } }
💾 Save Changes
❌ Cancel