/** * @inheritdoc */ public function supports(VariableWrapper $data) { return VariableWrapper::TYPE_RESOURCE == $data->getType() && 'mysql result' === $data->getId(); }
public function supports(VariableWrapper $data) { return VariableWrapper::TYPE_CLASS == $data->getType() && 'Symfony\\Component\\HttpFoundation\\Request' === $data->getId(); }
public function supports(VariableWrapper $data) { return VariableWrapper::TYPE_CLASS === $data->getType() && $this->isNamespace($data->getId(), 'Symfony'); }
/** * @inheritdoc */ public function supports(VariableWrapper $data) { return VariableWrapper::TYPE_CLASS == $data->getType() && 'SplMinHeap' === $data->getId(); }
public function supports(VariableWrapper $data) { return VariableWrapper::TYPE_CLASS == $data->getType() && 'DOMDocument' === $data->getId(); }
/** * @inheritdoc */ public function supports(VariableWrapper $data) { return VariableWrapper::TYPE_CLASS === $data->getType() && $this->isPrefix($data->getId(), 'Twig_'); }
/** * @inheritdoc */ public function supports(VariableWrapper $data) { return 'mysql' === substr($data->getId(), 0, 5) && VariableWrapper::TYPE_RESOURCE === $data->getType(); }
/** * @inheritdoc */ public function supports(VariableWrapper $data) { return VariableWrapper::TYPE_CLASS === $data->getType() && array_key_exists($data->getId(), $this->classes); }