public static function getVirtual(RepositoryInterface $table) : array
    {
        $moduleName = App::shortName(get_class($table), 'Model/Table', 'Table');

        $config = (new ModuleConfig(ConfigType::MODULE(), $moduleName))->parse();

        return property_exists($config, 'virtualFields') ? (array)$config->virtualFields : [];
    }