protected function checkTypeString($entity, $schema, $entityName)
    {
        $this->checkPattern($entity, $schema, $entityName);
        $this->checkMinLength($entity, $schema, $entityName);
        $this->checkMaxLength($entity, $schema, $entityName);
        $this->checkFormat($entity, $schema, $entityName);
        $this->checkEnum($entity, $schema, $entityName);
        $this->checkDisallow($entity, $schema, $entityName);

        return $this;
    }
protected function checkTypeString($entity, $schema, $entityName)
    {
        $this->checkPattern($entity, $schema, $entityName);
        $this->checkMinLength($entity, $schema, $entityName);
        $this->checkMaxLength($entity, $schema, $entityName);
        $this->checkFormat($entity, $schema, $entityName);
        $this->checkEnum($entity, $schema, $entityName);
        $this->checkDisallow($entity, $schema, $entityName);

        return $this;
    }
protected function checkTypeString ( $ entity , $ schema , $ entityName ) { $ this -> checkPattern ( $ entity , $ schema , $ entityName ) ; $ this -> checkMinLength ( $ entity , $ schema , $ entityName ) ; $ this -> checkMaxLength ( $ entity , $ schema , $ entityName ) ; $ this -> checkFormat ( $ entity , $ schema , $ entityName ) ; $ this -> checkEnum ( $ entity , $ schema , $ entityName ) ; $ this -> checkDisallow ( $ entity , $ schema , $ entityName ) ; return $ this ; }
Check string type

@param mixed $entity
@param object $schema
@param string $entityName

@return Validator
Check string type