Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AbstractTwigCallable.php

function AbstractTwigCallable::setArguments

Deprecated

since Twig 3.12, use withDynamicArguments() instead

File

vendor/twig/twig/src/AbstractTwigCallable.php, line 123

Class

AbstractTwigCallable
@author Fabien Potencier <fabien@symfony.com>

Namespace

Twig

Code

public function setArguments(array $arguments) : void {
    trigger_deprecation('twig/twig', '3.12', 'The "%s::setArguments()" method is deprecated, use "%s::withDynamicArguments()" instead.', static::class, static::class);
    $this->arguments = $arguments;
}
RSS feed
Powered by Drupal