Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 16... Línea 16...
16
* One of iconv, mbstring or intl extensions
16
* One of iconv, mbstring or intl extensions
17
* cURL or fsockopen()
17
* cURL or fsockopen()
18
* PCRE support
18
* PCRE support
Línea -... Línea 19...
-
 
19
 
-
 
20
 
-
 
21
PSR-16: Caching support
-
 
22
--------------
-
 
23
 
-
 
24
Since SimplePie 1.8.0 you can use the [PSR-16](https://www.php-fig.org/psr/psr-16/) cache from
-
 
25
[Symfony](https://symfony.com/doc/current/components/cache.html)
-
 
26
or [every other implementation](https://packagist.org/providers/psr/simple-cache-implementation).
-
 
27
 
-
 
28
```php
-
 
29
$simplepie = new \SimplePie\SimplePie();
-
 
30
$simplepie->set_cache(
-
 
31
    new \Symfony\Component\Cache\Psr16Cache(
-
 
32
        new \Symfony\Component\Cache\Adapter\FilesystemAdapter()
-
 
33
    ),
-
 
34
);
19
 
35
```
20
 
36
 
21
What comes in the package?
37
What comes in the package?
22
--------------------------
38
--------------------------
23
1. `src/` - SimplePie classes for use with the autoloader
39
1. `src/` - SimplePie classes for use with the autoloader