Permalink
Browse files

selfFormat methos

  • Loading branch information...
Greg Holland
Greg Holland committed Jan 9, 2013
1 parent 8ba4602 commit 0195ec43298f44c01dbc89a642e8d88877f220bd
Showing with 10 additions and 0 deletions.
  1. +10 −0 Formatter/AbstractFormatter.php
@@ -35,6 +35,16 @@ public function format(array $collection)
);
}
+ /**
+ * {@inheritdoc}
+ */
+ public function selfFormat(array $collection)
+ {
+ return $this->selfRender(
+ $this->processCollection($collection)
+ );
+ }
+
/**
* Format a single array of data
*

0 comments on commit 0195ec4

Please sign in to comment.