/usr/share/php/Symfony/Component/Security/Csrf/autoload.php is in php-symfony-security-csrf 3.4.6+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <?php
// require:
require_once 'Symfony/Polyfill/Php56/autoload.php';
require_once 'Symfony/Polyfill/Php70/autoload.php';
require_once 'Symfony/Component/Security/Core/autoload.php';
// suggest:
if (stream_resolve_include_path('Symfony/Component/HttpFoundation/autoload.php')){
include_once 'Symfony/Component/HttpFoundation/autoload.php';
}
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
'symfony\\component\\security\\csrf\\csrftoken' => '/CsrfToken.php',
'symfony\\component\\security\\csrf\\csrftokenmanager' => '/CsrfTokenManager.php',
'symfony\\component\\security\\csrf\\csrftokenmanagerinterface' => '/CsrfTokenManagerInterface.php',
'symfony\\component\\security\\csrf\\exception\\tokennotfoundexception' => '/Exception/TokenNotFoundException.php',
'symfony\\component\\security\\csrf\\tokengenerator\\tokengeneratorinterface' => '/TokenGenerator/TokenGeneratorInterface.php',
'symfony\\component\\security\\csrf\\tokengenerator\\urisafetokengenerator' => '/TokenGenerator/UriSafeTokenGenerator.php',
'symfony\\component\\security\\csrf\\tokenstorage\\nativesessiontokenstorage' => '/TokenStorage/NativeSessionTokenStorage.php',
'symfony\\component\\security\\csrf\\tokenstorage\\sessiontokenstorage' => '/TokenStorage/SessionTokenStorage.php',
'symfony\\component\\security\\csrf\\tokenstorage\\tokenstorageinterface' => '/TokenStorage/TokenStorageInterface.php'
);
}
$cn = strtolower($class);
if (isset($classes[$cn]) and file_exists(__DIR__ . $classes[$cn])) {
require __DIR__ . $classes[$cn];
}
}
);
// @codeCoverageIgnoreEnd
|