Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

selfFormat methos

  • Loading branch information...
commit 0195ec43298f44c01dbc89a642e8d88877f220bd 1 parent 8ba4602
@gregholland authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 Formatter/AbstractFormatter.php
View
10 Formatter/AbstractFormatter.php
@@ -36,6 +36,16 @@ public function format(array $collection)
}
/**
+ * {@inheritdoc}
+ */
+ public function selfFormat(array $collection)
+ {
+ return $this->selfRender(
+ $this->processCollection($collection)
+ );
+ }
+
+ /**
* Format a single array of data
*
* @param array $data
Please sign in to comment.
Something went wrong with that request. Please try again.