*/ public function convert(mixed $subject): Subject|array; /** * Determines whether the given subject is supported for conversion. * * @param mixed $subject the subject to check for conversion support * * @return bool true if the subject can be converted, false otherwise * * @phpstan-assert-if-true T $subject */ public function supportsConvert(mixed $subject): bool; public static function getDefaultPriority(): int; }