Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
+3 -14
View File
@@ -11,7 +11,6 @@
namespace Symfony\Component\Templating\Loader;
use Symfony\Component\Templating\Storage\Storage;
use Symfony\Component\Templating\TemplateReferenceInterface;
/**
@@ -24,7 +23,7 @@ class ChainLoader extends Loader
protected $loaders = [];
/**
* @param LoaderInterface[] $loaders An array of loader instances
* @param LoaderInterface[] $loaders
*/
public function __construct(array $loaders = [])
{
@@ -33,18 +32,13 @@ class ChainLoader extends Loader
}
}
/**
* Adds a loader instance.
*/
public function addLoader(LoaderInterface $loader)
{
$this->loaders[] = $loader;
}
/**
* Loads a template.
*
* @return Storage|bool false if the template cannot be loaded, a Storage instance otherwise
* {@inheritdoc}
*/
public function load(TemplateReferenceInterface $template)
{
@@ -58,12 +52,7 @@ class ChainLoader extends Loader
}
/**
* Returns true if the template is still fresh.
*
* @param TemplateReferenceInterface $template A template
* @param int $time The last modification time of the cached template (timestamp)
*
* @return bool
* {@inheritdoc}
*/
public function isFresh(TemplateReferenceInterface $template, $time)
{