3 declare(strict_types=1);
    50         if (isset($this->cache[
$key])) {
    51             return $this->cache[
$key];
    53         $renderer = $this->loader->getRendererFor($component, $contexts);
    54         $this->cache[
$key] = $renderer;
    65         return $component->
getCanonicalName() . 
" " . implode(
"_", $this->getContextNames($contexts));
    73         return $this->loader->getRendererFactoryFor($component);
 An entity that renders components to a string output. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Caches renderers loaded by another loader. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getCanonicalName()
Get the canonical name of the component. 
 
getRendererFactoryFor(Component $component)
 
__construct(Loader $loader)
 
This is the interface that components should use if they want to load specific renderers. 
 
getCacheKey(Component $component, array $contexts)
Get a key for the cache. 
 
Loads renderers for components. 
 
getRendererFor(Component $component, array $contexts)