ExportException.php 574 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Doctrine\ORM\Tools\Export;
  3. use Doctrine\ORM\ORMException;
  4. class ExportException extends ORMException
  5. {
  6. public static function invalidExporterDriverType($type)
  7. {
  8. return new self("The specified export driver '$type' does not exist");
  9. }
  10. public static function invalidMappingDriverType($type)
  11. {
  12. return new self("The mapping driver '$type' does not exist");
  13. }
  14. public static function attemptOverwriteExistingFile($file)
  15. {
  16. return new self("Attempting to overwrite an existing file '".$file."'.");
  17. }
  18. }