/**
  * {@inheritDoc}
  */
 public function quote($val, $type = PropertyType::STRING)
 {
     return $this->wrapped->quote($val, $type);
 }
 /**
  * Quote a string for inclusion in an SQL2 query
  *
  * @param string $val
  * @param int    $type
  *
  * @return string the quoted value
  *
  * @see \PHPCR\PropertyType
  */
 public function quote($val, $type = null)
 {
     return $this->dm->quote($val, $type);
 }