| @@ -1,7 +1,16 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Abstract class for record exporters | |
| 4 | + * | |
| 5 | + * @package WP_Stream | |
| 6 | + */ | |
| 7 | + | |
| 2 | 8 | namespace WP_Stream; |
| 3 | 9 | |
| 10 | +/** | |
| 11 | + * Class - Exporter | |
| 12 | + */ | |
| 4 | 13 | abstract class Exporter { |
| 5 | 14 | /** |
| 6 | 15 | * Exporter name |
| 7 | 16 | * |
| @@ -22,9 +31,9 @@ | ||
| 22 | 31 | * @param array $data Array of data to output. |
| 23 | 32 | * @param array $columns Column names included in data set. |
| 24 | 33 | * @return void |
| 25 | 34 | */ |
| 26 | - public abstract function output_file( $data, $columns ); | |
| 35 | + abstract public function output_file( $data, $columns ); | |
| 27 | 36 | |
| 28 | 37 | /** |
| 29 | 38 | * Allow connectors to determine if their dependencies is satisfied or not |
| 30 | 39 | * |