This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Libraries; | |
| use CodeIgniter\I18n\Time; | |
| use ReturnTypeWillChange; | |
| /** | |
| * Carbon - A Carbon-like extension of CodeIgniter Time | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Collection Class for CodeIgniter 4 / PHP 8.2 | |
| **Namespace:** `App\Libraries` | |
| **Implements:** `IteratorAggregate`, `Countable`, `ArrayAccess`, `JsonSerializable` | |
| A utility class to work with arrays in an object-oriented, chainable manner. Supports filtering, mapping, grouping, aggregation, pagination, and JSON/array conversion. Includes helpers: `increment`, `decrement`, `push`, `merge`, `prepend`. | |
| --- | |
| ## Full Class Code |