Searched refs:allowedMethods (Results 1 – 2 of 2) sorted by relevance
26 private $allowedMethods; variable in Twig\\Sandbox\\SecurityPolicy31 …onstruct(array $allowedTags = [], array $allowedFilters = [], array $allowedMethods = [], array $a… argument35 $this->setAllowedMethods($allowedMethods);52 $this->allowedMethods = [];54 $this->allowedMethods[$class] = array_map('strtolower', \is_array($m) ? $m : [$m]);125 foreach ($this->allowedMethods as $class => $methods) {
63 $allowedMethods = [static::METHOD_GET, static::METHOD_POST];64 if (!in_array($custom_method, $allowedMethods, true)) {69 implode(', ', $allowedMethods)