chamilo/chamilo-lms

View on GitHub
public/plugin/xapi/php-xapi/lrs-bundle/src/Resources/config/controller.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services
        http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
        <service id="xapi_lrs.controller.statement.get" class="XApi\LrsBundle\Controller\StatementGetController">
            <argument type="service" id="xapi_lrs.repository.statement"/>
            <argument type="service" id="xapi_lrs.statement.serializer"/>
            <argument type="service" id="xapi_lrs.statement_result.serializer"/>
            <argument type="service" id="xapi_lrs.factory.statements_filter"/>
        </service>
        
        <service id="xapi_lrs.controller.statement.post" class="XApi\LrsBundle\Controller\StatementPostController"/>
        
        <service id="xapi_lrs.controller.statement.put" class="XApi\LrsBundle\Controller\StatementPutController">
            <argument type="service" id="xapi_lrs.repository.statement"/>
        </service>
    </services>
</container>