TrackManiaControl/core/Callbacks/Structures/XmlRpc/DocumentationStructure.php

42 lines
928 B
PHP
Raw Permalink Normal View History

<?php
namespace ManiaControl\Callbacks\Structures\XmlRpc;
use ManiaControl\Callbacks\Structures\Common\BaseResponseStructure;
use ManiaControl\ManiaControl;
/**
* Structure Class for the Documentation Structure Callback
*
* @api
* @author ManiaControl Team <mail@maniacontrol.com>
2020-01-22 10:39:35 +01:00
* @copyright 2014-2020 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class DocumentationStructure extends BaseResponseStructure {
private $documentation;
/**
2017-03-24 22:49:43 +01:00
* Construct a new Callbacks List Structure
*
* @param ManiaControl $maniaControl
* @param array $data
*/
public function __construct(ManiaControl $maniaControl, $data) {
2017-03-23 21:01:44 +01:00
parent::__construct($maniaControl, $data);
$this->documentation = $data[1];
}
/**
* Gets the Documentation
*
* @api
* @return string
*/
public function getDocumentation() {
return $this->documentation;
}
}