Exemplo n.º 1
0
 /**
  * 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
  */
 public function setType($parameterIndex, ObjectTypeInterface $type)
 {
     $this->setParameter($parameterIndex, $this->escape($type->getQueryName()));
 }