public static function export(?string $className) : string
    {
        if ($className === null) {
            throw new InvalidArgumentException('Class name must be provided');
        }

        return self::createFromName($className)->__toString();
    }