src/LtiBundle/Component/OutcomeDeleteResponse.php
<?php
declare(strict_types=1);
/* For licensing terms, see /license.txt */
namespace Chamilo\LtiBundle\Component;
use SimpleXMLElement;
class OutcomeDeleteResponse extends OutcomeResponse
{
/**
* @param mixed|null $bodyParam
*/
public function __construct(OutcomeResponseStatus $statusInfo, $bodyParam = null)
{
$statusInfo->setOperationRefIdentifier('deleteResult');
parent::__construct($statusInfo, $bodyParam);
}
protected function generateBody(SimpleXMLElement $xmlBody): void
{
$xmlBody->addChild('deleteResultResponse');
}
}