42 lines
928 B
PHP
42 lines
928 B
PHP
<?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>
|
|
* @copyright 2014-2020 ManiaControl Team
|
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
|
*/
|
|
class DocumentationStructure extends BaseResponseStructure {
|
|
private $documentation;
|
|
|
|
/**
|
|
* Construct a new Callbacks List Structure
|
|
*
|
|
* @param ManiaControl $maniaControl
|
|
* @param array $data
|
|
*/
|
|
public function __construct(ManiaControl $maniaControl, $data) {
|
|
parent::__construct($maniaControl, $data);
|
|
|
|
$this->documentation = $data[1];
|
|
}
|
|
|
|
/**
|
|
* Gets the Documentation
|
|
*
|
|
* @api
|
|
* @return string
|
|
*/
|
|
public function getDocumentation() {
|
|
return $this->documentation;
|
|
}
|
|
|
|
|
|
} |