rector/tests/NodeVisitor/DependencyInjection/NamedServicesToConstructorRector/Source/LocalKernel.php
TomasVotruba 70bb18f099 renaming
2017-08-08 02:30:29 +02:00

34 lines
847 B
PHP

<?php declare(strict_types=1);
namespace Rector\Tests\NodeVisitor\DependencyInjection\NamedServicesToConstructorRector\Source;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
use Symfony\Component\HttpKernel\Kernel;
final class LocalKernel extends Kernel
{
/**
* @return BundleInterface[]
*/
public function registerBundles(): array
{
return [];
}
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(__DIR__ . '/services.yml');
}
public function getCacheDir(): string
{
return sys_get_temp_dir() . '/_rector_tests_local_kernel_cache';
}
public function getLogDir(): string
{
return sys_get_temp_dir() . '/_rector_tests_local_kernel_logs';
}
}