public function getImageFieldTypeProcessor(RouterInterface $router)
    {
        $variationsIdentifiers = array_keys($this->configResolver->getParameter('image_variations'));
        sort($variationsIdentifiers);

        return new FieldTypeProcessor\ImageProcessor(
            // Config for local temp dir
            // @todo get configuration
            sys_get_temp_dir(),
            // URL schema for image links
            // @todo get configuration
            $router,
            // Image variations (names only)
            $variationsIdentifiers
        );
    }
public function getImageFieldTypeProcessor(RouterInterface $router)
    {
        $variationsIdentifiers = array_keys($this->configResolver->getParameter('image_variations'));
        sort($variationsIdentifiers);

        return new FieldTypeProcessor\ImageProcessor(
            // Config for local temp dir
            // @todo get configuration
            sys_get_temp_dir(),
            // URL schema for image links
            // @todo get configuration
            $router,
            // Image variations (names only)
            $variationsIdentifiers
        );
    }
public function getImageFieldTypeProcessor ( RouterInterface $ router ) { $ variationsIdentifiers = array_keys ( $ this -> configResolver -> getParameter ( 'image_variations' ) ) ; sort ( $ variationsIdentifiers ) ; return new FieldTypeProcessor \ ImageProcessor ( // Config for local temp dir // @todo get configuration sys_get_temp_dir ( ) , // URL schema for image links // @todo get configuration $ router , // Image variations (names only) $ variationsIdentifiers ) ; }
Factory for ezpublish_rest.field_type_processor.ezimage.

@param \Symfony\Component\Routing\RouterInterface $router

@return \eZ\Publish\Core\REST\Common\FieldTypeProcessor\ImageProcessor
Factory for ezpublish_rest . field_type_processor . ezimage .