Commit 146b22a1 authored by Jonathan H. Wage's avatar Jonathan H. Wage

Making 2nd argument of getExporter() optional again

parent ac4e33d0
...@@ -63,7 +63,7 @@ class ClassMetadataExporter ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment