src/Primitive/AbstractPrimitiveStringType.php
final protected function valueInBounds($value)
    {
        return is_null($value) || (
            (is_null($this->getMinLength()) || strlen($value) >= $this->getMinLength())
            &&
            (is_null($this->getMaxLength()) || strlen($value) <= $this->getMaxLength())
        );
    }
final protected function valueInBounds($value)
    {
        return is_null($value) || (
            (is_null($this->getMinLength()) || strlen($value) >= $this->getMinLength())
            &&
            (is_null($this->getMaxLength()) || strlen($value) <= $this->getMaxLength())
        );
    }
final protected function valueInBounds ( $ value ) { return is_null ( $ value ) || ( ( is_null ( $ this -> getMinLength ( ) ) || strlen ( $ value ) >= $ this -> getMinLength ( ) ) && ( is_null ( $ this -> getMaxLength ( ) ) || strlen ( $ value ) <= $ this -> getMaxLength ( ) ) ) ; }
Checks if the length of the string is within bounds

@param $value mixed The string value
@return bool
Checks if the length of the string is within bounds