Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Add missing method
Browse files Browse the repository at this point in the history
  • Loading branch information
rashidlaasri authored Mar 17, 2018
1 parent a6a00ac commit 09ae107
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Helpers/FinalInstallManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,20 @@ private static function publishVendorAssets($outputLog)

return $outputLog;
}

/**
* Return a formatted error messages.
*
* @param $message
* @param collection $outputLog
* @return array
*/
private function response($message, $outputLog)
{
return [
'status' => 'error',
'message' => $message,
'dbOutputLog' => $outputLog->fetch()
];
}
}

0 comments on commit 09ae107

Please sign in to comment.