1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Making 2nd argument of getExporter() optional again

This commit is contained in:
Jonathan H. Wage 2010-04-14 14:18:10 -04:00
parent ac4e33d056
commit 146b22a1a5

View File

@ -63,7 +63,7 @@ class ClassMetadataExporter
* @param string $source The directory where the exporter will export to * @param string $source The directory where the exporter will export to
* @return AbstractExporter $exporter * @return AbstractExporter $exporter
*/ */
public function getExporter($type, $dest) public function getExporter($type, $dest = null)
{ {
if ( ! isset(self::$_exporterDrivers[$type])) { if ( ! isset(self::$_exporterDrivers[$type])) {
throw ExportException::invalidExporterDriverType($type); throw ExportException::invalidExporterDriverType($type);