| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class ICalendarVariable |
||
| 24 | { |
||
| 25 | // Public Methods |
||
| 26 | // ========================================================================= |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Format the passed in $text as per the iCalendar RFC 2445 spec: |
||
| 30 | * https://icalendar.org/validator.html |
||
| 31 | * |
||
| 32 | * @param string $text |
||
| 33 | * |
||
| 34 | * @return Markup |
||
| 35 | */ |
||
| 36 | public function rfc2445(string $text): Markup |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Return the ICal object (or null) for the events feed |
||
| 43 | * |
||
| 44 | * @param mixed|array|string $files |
||
| 45 | * @param array $config |
||
| 46 | * |
||
| 47 | * @return ICal |
||
| 48 | */ |
||
| 49 | public function ics(mixed $files, array $config = []): ICal |
||
| 54 |