Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 25... Línea 25...
25
     *                                      back of result wrappers from the
25
     *                                      back of result wrappers from the
26
     *                                      output structure.
26
     *                                      output structure.
27
     */
27
     */
28
    public function __construct(
28
    public function __construct(
29
        Service $api,
29
        Service $api,
30
        XmlParser $xmlParser = null,
30
        ?XmlParser $xmlParser = null,
31
        $honorResultWrapper = true
31
        $honorResultWrapper = true
32
    ) {
32
    ) {
33
        parent::__construct($api);
33
        parent::__construct($api);
34
        $this->parser = $xmlParser ?: new XmlParser();
34
        $this->parser = $xmlParser ?: new XmlParser();
35
        $this->honorResultWrapper = $honorResultWrapper;
35
        $this->honorResultWrapper = $honorResultWrapper;