/** * {@inheritdoc} */ public function wrap($value, $prefixAlias = false) { if ($value instanceof Fluent) { $value = $value->name; } return parent::wrap($value, $prefixAlias); }
/** * Wrap a value in keyword identifiers. * * @param string $value * @return string */ public function wrap($value) { if ($value instanceof Fluent) { $value = $value->name; } return parent::wrap($value); }
/** * Get qualified name wrapped by the grammar. * * @return string */ public function getWrapped() { return $this->grammar->wrap($this->getQualifiedName()); }