TrackManiaControl/libs/Maniaplanet/DedicatedServer/Xmlrpc/Base64.php

31 lines
426 B
PHP
Raw Normal View History

2014-01-16 16:56:24 +01:00
<?php
/**
* ManiaPlanet dedicated server Xml-RPC client
*
* @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
*/
namespace Maniaplanet\DedicatedServer\Xmlrpc;
class Base64
2014-01-16 16:56:24 +01:00
{
public $scalar;
public $xmlrpc_type = 'base64';
2014-01-16 16:56:24 +01:00
/**
* @param string $data
*/
2014-01-16 16:56:24 +01:00
function __construct($data)
{
$this->scalar = $data;
2014-01-16 16:56:24 +01:00
}
2014-05-08 19:38:15 +02:00
/**
* @return string
*/
function __toString()
{
return $this->scalar;
}
}