添加网站文件
This commit is contained in:
2
vendor/endroid/qr-code/tests/Bundle/app/.gitignore
vendored
Normal file
2
vendor/endroid/qr-code/tests/Bundle/app/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/cache
|
||||
/logs
|
||||
36
vendor/endroid/qr-code/tests/Bundle/app/AppKernel.php
vendored
Normal file
36
vendor/endroid/qr-code/tests/Bundle/app/AppKernel.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* (c) Jeroen van den Enden <info@endroid.nl>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
use Symfony\Component\Config\Loader\LoaderInterface;
|
||||
use Symfony\Component\HttpKernel\Kernel;
|
||||
|
||||
class AppKernel extends Kernel
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function registerBundles()
|
||||
{
|
||||
$bundles = [
|
||||
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
|
||||
new Symfony\Bundle\TwigBundle\TwigBundle(),
|
||||
new Endroid\QrCode\Bundle\QrCodeBundle\EndroidQrCodeBundle(),
|
||||
];
|
||||
|
||||
return $bundles;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function registerContainerConfiguration(LoaderInterface $loader)
|
||||
{
|
||||
$loader->load(__DIR__.'/config/config.yml');
|
||||
}
|
||||
}
|
||||
3
vendor/endroid/qr-code/tests/Bundle/app/bootstrap.php
vendored
Normal file
3
vendor/endroid/qr-code/tests/Bundle/app/bootstrap.php
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
$loader = require __DIR__.'/../../../vendor/autoload.php';
|
||||
8
vendor/endroid/qr-code/tests/Bundle/app/config/config.yml
vendored
Normal file
8
vendor/endroid/qr-code/tests/Bundle/app/config/config.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
framework:
|
||||
test: ~
|
||||
secret: ThisTokenIsNotSoSecretChangeIt
|
||||
templating:
|
||||
engines: ['twig']
|
||||
router:
|
||||
resource: "%kernel.root_dir%/config/routing.yml"
|
||||
strict_requirements: ~
|
||||
3
vendor/endroid/qr-code/tests/Bundle/app/config/routing.yml
vendored
Normal file
3
vendor/endroid/qr-code/tests/Bundle/app/config/routing.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
EndroidQrCodeBundle:
|
||||
resource: "@EndroidQrCodeBundle/Resources/config/routing.yml"
|
||||
prefix: /qrcode
|
||||
Reference in New Issue
Block a user