FileLocatorFileNotFoundException.php 788 B

12345678910111213141516171819202122232425262728293031323334
  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\Config\Exception;
  11. /**
  12. * File locator exception if a file does not exist.
  13. *
  14. * @author Leo Feyer <https://github.com/leofeyer>
  15. */
  16. class FileLocatorFileNotFoundException extends \InvalidArgumentException
  17. {
  18. private $paths;
  19. public function __construct(string $message = '', int $code = 0, \Throwable $previous = null, array $paths = [])
  20. {
  21. parent::__construct($message, $code, $previous);
  22. $this->paths = $paths;
  23. }
  24. public function getPaths()
  25. {
  26. return $this->paths;
  27. }
  28. }