Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 20... Línea 20...
20
    private $defaultCacheStrategy;
20
    private $defaultCacheStrategy;
Línea 21... Línea 21...
21
 
21
 
22
    /**
22
    /**
23
     * DelegatingCacheStrategy constructor.
23
     * DelegatingCacheStrategy constructor.
24
     */
24
     */
25
    public function __construct(CacheStrategyInterface $defaultCacheStrategy = null)
25
    public function __construct(?CacheStrategyInterface $defaultCacheStrategy = null)
26
    {
26
    {
27
        $this->defaultCacheStrategy = $defaultCacheStrategy ?: new NullCacheStrategy();
27
        $this->defaultCacheStrategy = $defaultCacheStrategy ?: new NullCacheStrategy();
Línea 28... Línea 28...
28
    }
28
    }