PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.1
Elementor Website Builder – more than just a page builder v4.3.1
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
elementor / vendor_prefixed / twig / symfony / deprecation-contracts / function.php

function.php in Elementor Website Builder – more than just a page builder 4.3.1, at vendor_prefixed/twig/symfony/deprecation-contracts/function.php

29 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace ElementorDeps;
4
5 /*
6 * This file is part of the Symfony package.
7 *
8 * (c) Fabien Potencier <[email protected]>
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
12 */
13 if (!\function_exists('ElementorDeps\\trigger_deprecation')) {
14 /**
15 * Triggers a silenced deprecation notice.
16 *
17 * @param string $package The name of the Composer package that is triggering the deprecation
18 * @param string $version The version of the package that introduced the deprecation
19 * @param string $message The message of the deprecation
20 * @param mixed ...$args Values to insert in the message using printf() formatting
21 *
22 * @author Nicolas Grekas <[email protected]>
23 */
24 function trigger_deprecation(string $package, string $version, string $message, ...$args) : void
25 {
26 @\trigger_error(($package || $version ? "Since {$package} {$version}: " : '') . ($args ? \vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
27 }
28 }
29