src/UthandoFileManager/Hydrator/ImageHydrator.php
public function extract($object)
    {
        return [
            'name' => $object->getFileName(),
            'type' => $object->getType(),
            'size' => $object->getSize(),
            'tmp_name' => $object->getTempName(),
            'error' => $object->getError(),
            'size' => [
                0 => $object->getWidth(),
                1 => $object->getHeight(),
                2 => $object->getMimeType(),
            ],
        ];
    }
public function extract($object)
    {
        return [
            'name' => $object->getFileName(),
            'type' => $object->getType(),
            'size' => $object->getSize(),
            'tmp_name' => $object->getTempName(),
            'error' => $object->getError(),
            'size' => [
                0 => $object->getWidth(),
                1 => $object->getHeight(),
                2 => $object->getMimeType(),
            ],
        ];
    }
public function extract ( $ object ) { return [ 'name' => $ object -> getFileName ( ) , 'type' => $ object -> getType ( ) , 'size' => $ object -> getSize ( ) , 'tmp_name' => $ object -> getTempName ( ) , 'error' => $ object -> getError ( ) , 'size' => [ 0 => $ object -> getWidth ( ) , 1 => $ object -> getHeight ( ) , 2 => $ object -> getMimeType ( ) , ] , ] ; }
Extract values from model

@param  ImageModel $object
@return array
Extract values from model