Actualización
This commit is contained in:
30
plugin/xapi/src/Lrs/AboutController.php
Normal file
30
plugin/xapi/src/Lrs/AboutController.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
namespace Chamilo\PluginBundle\XApi\Lrs;
|
||||
|
||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
/**
|
||||
* Class AboutController.
|
||||
*
|
||||
* @package Chamilo\PluginBundle\XApi\Lrs
|
||||
*/
|
||||
class AboutController extends BaseController
|
||||
{
|
||||
public function get(): Response
|
||||
{
|
||||
$json = [
|
||||
'version' => [
|
||||
'1.0.3',
|
||||
'1.0.2',
|
||||
'1.0.1',
|
||||
'1.0.0',
|
||||
],
|
||||
];
|
||||
|
||||
return JsonResponse::create($json);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user