for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This phpFile is auto-generated.
*/
declare(strict_types=1);
namespace AurimasNiekis\TdLibSchema;
* Returns the received string; for testing only. This is an offline method. Can be called before authorization.
class TestCallString extends TdFunction
{
public const TYPE_NAME = 'testCallString';
* String to return.
*
* @var string
protected string $x;
public function __construct(string $x)
$this->x = $x;
}
public static function fromArray(array $array): TestCallString
return new static(
$array['x'],
);
public function typeSerialize(): array
return [
'@type' => static::TYPE_NAME,
'x' => $this->x,
];
public function getX(): string
return $this->x;