chamilo/chamilo-lms

View on GitHub
public/plugin/xapi/src/Lrs/AboutController.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

/* For licensing terms, see /license.txt */

namespace Chamilo\PluginBundle\XApi\Lrs;

use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;

/**
 * Class AboutController.
 */
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);
    }
}