Searched refs:strategy (Results 1 – 8 of 8) sorted by relevance
99 public function setEscaper($strategy, callable $callable) argument101 $this->escapers[$strategy] = $callable;131 foreach ($strategies as $strategy) {132 $this->safeLookup[$strategy][$class] = true;165 * @param string $strategy The escaping strategy199 } elseif (\in_array($strategy, ['html', 'js', 'css', 'html_attr', 'url'])) {212 switch ($strategy) {397 if (array_key_exists($strategy, $legacyEscapers)) {398 return $legacyEscapers[$strategy]($env, $string, $charset);402 if (array_key_exists($strategy, $escapers)) {[all …]
85 … * @param string $strategy The strategy name that should be used as a strategy in the escape call90 public function setEscaper($strategy, callable $callable) argument94 $this->escapers[$strategy] = $callable;
5 …strategy:"absolute",placement:i}),M=V(Object.assign({},x,L)),k=d===B?M:A,H={top:O.top-k.top+y.top,… property in AnonymousFunctiona7f373a40100.G
1 …-font-weight;\n }\n}\n\n\n// Figures\n//\n// Apply a consistent margin strategy (matches our type…
378 * removed `true` as an equivalent to `html` for the auto-escaping strategy
1 …\n}\n\n\n//\n// Figures\n//\n\nfigure {\n // Apply a consistent margin strategy (matches our type…