| 1 | <?php |
||
| 17 | class IcsReaderService extends AbstractService |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Get the ICS events in an array. |
||
| 21 | * |
||
| 22 | * @param string $paramUrl |
||
| 23 | * |
||
| 24 | * @return array |
||
| 25 | */ |
||
| 26 | public function toArray($paramUrl) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Get cached URL file |
||
| 38 | * |
||
| 39 | * @param string $url |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | protected function getCachedUrlFile(string $url):string { |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Return the cache folder and check if the folder exists. |
||
| 53 | * |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | protected function getCheckedCacheFolder():string |
||
| 65 | } |
||
| 66 |