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 PHPTdGram\Schema;
* The element contains an error in an unspecified place. The error will be considered resolved when new data is added.
class InputPassportElementErrorSourceUnspecified extends InputPassportElementErrorSource
{
public const TYPE_NAME = 'inputPassportElementErrorSourceUnspecified';
* Current hash of the entire element.
protected string $elementHash;
public function __construct(string $elementHash)
parent::__construct();
$this->elementHash = $elementHash;
}
public static function fromArray(array $array): InputPassportElementErrorSourceUnspecified
return new static(
$array['element_hash'],
);
public function typeSerialize(): array
return [
'@type' => static::TYPE_NAME,
'element_hash' => $this->elementHash,
];
public function getElementHash(): string
return $this->elementHash;