Permalink
Browse files

* make BaseDumper abstract (to force extension)

 * make BaseDumper implement Interface (makes for less code in the implementation)
  • Loading branch information...
1 parent 6820f78 commit 7355cfd2212c4454a67abfb4f991e6a56e3b3ec1 @till till committed Jun 17, 2012
@@ -21,7 +21,7 @@
* @author Konstantin Kudryashiv <ever.zet@gmail.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
*/
-class ArrayDumper extends BaseDumper implements DumperInterface
+class ArrayDumper extends BaseDumper
{
public function dump(PackageInterface $package)
{
@@ -21,7 +21,7 @@
/**
* @author Till Klampaeckel <till@php.net>
*/
-class BaseDumper
+abstract class BaseDumper implements DumperInterface
{
/**
* Format: zip or tarball.
@@ -19,7 +19,7 @@
/**
* @author Till Klampaeckel <till@php.net>
*/
-class ZipDumper extends BaseDumper implements DumperInterface
+class ZipDumper extends BaseDumper
{
protected $format = 'zip';

0 comments on commit 7355cfd

Please sign in to comment.