Form/Type/CroppableType.php
public function calcMin($option, array $options)
    {
        $min = (isset($options[$option]) ? (int)$options[$option] : 0);

        if (isset($options['instances']) && is_array($options['instances'])) {
            foreach ($options['instances'] as $instance) {
                $value = (isset($instance[$option]) ? (int)$instance[$option] : 0);

                if ($value > $min) {
                    $min = $value;
                }
            }
        }

        return $min;
    }
public function calcMin($option, array $options)
    {
        $min = (isset($options[$option]) ? (int)$options[$option] : 0);

        if (isset($options['instances']) && is_array($options['instances'])) {
            foreach ($options['instances'] as $instance) {
                $value = (isset($instance[$option]) ? (int)$instance[$option] : 0);

                if ($value > $min) {
                    $min = $value;
                }
            }
        }

        return $min;
    }
Calculates and returns values for the size constraint

@param $option
@param array $options
@return int