public function setType($parameterIndex, ObjectTypeInterface $type)
    {
        $this->setParameter($parameterIndex, $this->escape($type->getQueryName()));
    }
public function setType($parameterIndex, ObjectTypeInterface $type)
    {
        $this->setParameter($parameterIndex, $this->escape($type->getQueryName()));
    }
public function setType ( $ parameterIndex , ObjectTypeInterface $ type ) { $ this -> setParameter ( $ parameterIndex , $ this -> escape ( $ type -> getQueryName ( ) ) ) ; }
Sets the designated parameter to the query name of the given type.

@param integer $parameterIndex the parameter index (one-based)
@param ObjectTypeInterface $type the object type
Sets the designated parameter to the query name of the given type .