protected function isAcceptLength($value)
    {
        $value = strlen(utf8_decode($value));

        if ($value < $this->min) {
            throw new ExceptionFactory('InvalidLength', [$value, 'greater', $this->min]);
        }
        else if ($value > $this->max) {
            throw new ExceptionFactory('InvalidLength', [$value, 'less', $this->max]);
        }

        return true;
    }
protected function isAcceptLength($value)
    {
        $value = strlen(utf8_decode($value));

        if ($value < $this->min) {
            throw new ExceptionFactory('InvalidLength', [$value, 'greater', $this->min]);
        }
        else if ($value > $this->max) {
            throw new ExceptionFactory('InvalidLength', [$value, 'less', $this->max]);
        }

        return true;
    }
protected function isAcceptLength ( $ value ) { $ value = strlen ( utf8_decode ( $ value ) ) ; if ( $ value < $ this -> min ) { throw new ExceptionFactory ( 'InvalidLength' , [ $ value , 'greater' , $ this -> min ] ) ; } else if ( $ value > $ this -> max ) { throw new ExceptionFactory ( 'InvalidLength' , [ $ value , 'less' , $ this -> max ] ) ; } return true ; }
Verify by length

@param  string           $value
@throws ExceptionFactory
@return boolean
Verify by length