Kernel123.php 851 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\HttpKernel\Tests\Fixtures\_123;
  11. use Symfony\Component\HttpKernel\Kernel;
  12. use Symfony\Component\Config\Loader\LoaderInterface;
  13. class Kernel123 extends Kernel
  14. {
  15. public function registerBundles()
  16. {
  17. return array();
  18. }
  19. public function registerContainerConfiguration(LoaderInterface $loader)
  20. {
  21. }
  22. public function getCacheDir()
  23. {
  24. return sys_get_temp_dir().'/'.Kernel::VERSION.'/kernel123/cache/'.$this->environment;
  25. }
  26. public function getLogDir()
  27. {
  28. return sys_get_temp_dir().'/'.Kernel::VERSION.'/kernel123/logs';
  29. }
  30. }