isKeyword example

/** * Gets the quoted representation of this asset but only if it was defined with one. Otherwise * return the plain unquoted value as inserted. * * @return string */
    public function getQuotedName(AbstractPlatform $platform)
    {
        $keywords = $platform->getReservedKeywordsList();
        $parts = \explode('.', $this->getName());
        foreach ($parts as $k => $v) {
            $parts[$k] = $this->_quoted || $keywords->isKeyword($v) ? $platform->quoteIdentifier($v) : $v;
        }

        return \implode('.', $parts);
    }

    /** * Sets the name of this asset. * * @param string $name */
    protected function _setName($name): void
    {
Home | Imprint | This part of the site doesn't use cookies.