src/Form/Filterer.php
public function minLength(array $options) {
        if ($options['value'] && strlen($this->elementData) >= $options['value'])
            return true;

        $this->addError($this->checkMessage('Length must not be less than ' . $options['value'], $options));
        return false;
    }
public function minLength(array $options) {
        if ($options['value'] && strlen($this->elementData) >= $options['value'])
            return true;

        $this->addError($this->checkMessage('Length must not be less than ' . $options['value'], $options));
        return false;
    }
public function minLength ( array $ options ) { if ( $ options [ 'value' ] && strlen ( $ this -> elementData ) >= $ options [ 'value' ] ) return true ; $ this -> addError ( $ this -> checkMessage ( 'Length must not be less than ' . $ options [ 'value' ] , $ options ) ) ; return false ; }
Checks if the length of the value of the element is not less than the required length
@param string $name Name of the element to filter
@param  array $options Keys may include [message]
@return boolean
Checks if the length of the value of the element is not less than the required length