Skip to content

Commit

Permalink
customs
Browse files Browse the repository at this point in the history
  • Loading branch information
davemednick committed Sep 17, 2024
1 parent ec444dc commit 5b3e7fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/jc21/CliTableCustomManipulators.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
*/
class CliTableCustomManipulators extends CliTableManipulator
{
/**
* Convert this data into a json string
*
* @param array $data
* @return string
*/
public function jsonify(array $data): string
{
return json_encode($data, JSON_PRETTY_PRINT);
Expand Down

0 comments on commit 5b3e7fa

Please sign in to comment.