Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 7 |
| OrganizationController | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 7 |
| ping | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 7 |
|||
| <?php | |
| namespace App\Http\Controllers\Organization; | |
| use App\Models\Admin\Organisation; | |
| class OrganizationController | |
| { | |
| public function ping() | |
| { | |
| $details = []; | |
| $org_name = Organisation::value('organisation'); | |
| $org_logo = Organisation::value('image'); | |
| $details["orgName"] = strval($org_name); | |
| $details["logo"] = $org_logo; | |
| $details["status"] = "200"; | |
| return json_encode($details); | |
| } | |
| } |