UnknownDriverException.php 541 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. * This file is part of the Sylius package.
  4. *
  5. * (c) Paweł Jędrzejewski
  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 Sylius\Component\Resource\Exception\Driver;
  11. /**
  12. * @author Arnaud Langlade <aRn0D.dev@gmail.com>
  13. */
  14. class UnknownDriverException extends \Exception
  15. {
  16. public function __construct($driver)
  17. {
  18. parent::__construct(sprintf(
  19. 'Unknown driver "%s"',
  20. $driver
  21. ));
  22. }
  23. }