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 5ae16f5 commit ec444dc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/jc21/CliTableCustomManipulators.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* NocWorx Datacenter Management Suite
*
* @package nocworx.clitable
* @copyright 2006-2022 LiquidWeb, LLC
* @license Proprietary
*/

declare(strict_types = 1);

namespace jc21;

/**
* Custom manipulators for the Cli Table class
*/
class CliTableCustomManipulators extends CliTableManipulator
{
public function jsonify(array $data): string
{
return json_encode($data, JSON_PRETTY_PRINT);
}
}

0 comments on commit ec444dc

Please sign in to comment.