public function getMaxLength()
    {
        if ($this->isString() && isset($this->methodParams[0])) {
            return intval($this->methodParams[0]);
        }

        return null;
    }
public function getMaxLength()
    {
        if ($this->isString() && isset($this->methodParams[0])) {
            return intval($this->methodParams[0]);
        }

        return null;
    }
public function getMaxLength ( ) { if ( $ this -> isString ( ) && isset ( $ this -> methodParams [ 0 ] ) ) { return intval ( $ this -> methodParams [ 0 ] ) ; } return null ; }
Gets the Min length a field.

@return int|null
Gets the Min length a field .