protected function checkTypeObject($entity, $schema, $entityName)
    {
        $this->validateProperties($entity, $schema, $entityName);

        return $this;
    }
protected function checkTypeObject($entity, $schema, $entityName)
    {
        $this->validateProperties($entity, $schema, $entityName);

        return $this;
    }
protected function checkTypeObject ( $ entity , $ schema , $ entityName ) { $ this -> validateProperties ( $ entity , $ schema , $ entityName ) ; return $ this ; }
Check object type

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

@return Validator
Check object type