private function getFilterMethod($transform): string
    {
        /** @var ConfigModel $settings */
        $config = ImagerService::getConfig();

        return ImagerService::$imageDriver === 'imagick' ? ImagerService::$filterKeyTranslate[(string)$config->getSetting('resizeFilter', $transform)] : ImageInterface::FILTER_UNDEFINED;
    }
private function getFilterMethod($transform): string
    {
        /** @var ConfigModel $settings */
        $config = ImagerService::getConfig();

        return ImagerService::$imageDriver === 'imagick' ? ImagerService::$filterKeyTranslate[(string)$config->getSetting('resizeFilter', $transform)] : ImageInterface::FILTER_UNDEFINED;
    }
private function getFilterMethod ( $ transform ) : string { /** @var ConfigModel $settings */ $ config = ImagerService :: getConfig ( ) ; return ImagerService :: $ imageDriver === 'imagick' ? ImagerService :: $ filterKeyTranslate [ ( string ) $ config -> getSetting ( 'resizeFilter' , $ transform ) ] : ImageInterface :: FILTER_UNDEFINED ; }
Returns the filter method for resize operations

@param array $transform

@return string
Returns the filter method for resize operations