getShortName(); } catch (ReflectionException) { return null; } } /** * Cast object to string. * * @throws EncoderException */ public function __toString(): string { return $this->encode(); } }