-
-
Notifications
You must be signed in to change notification settings - Fork 42
Get Report as JSON
Harish Toshniwal edited this page Apr 6, 2017
·
3 revisions
- You might want to access the same Decomposer Report as JSON
- The
getReportJson()
helper method has been introduced to solve the same requirement. - First use the Decomposer class at the top as follows:
use Lubusin\Decomposer\Decomposer;
- Then use the
getReportJson()
method as required.
$DecomposerStats = Decomposer::getReportJson();
- It returns the report as JSON
Next: Get Report as an Array