Baum\Move::quoteIdentifier PHP Method

quoteIdentifier() protected method

Quotes an identifier for being used in a database query.
protected quoteIdentifier ( mixed $value ) : string
$value mixed
return string
    protected function quoteIdentifier($value)
    {
        if (is_null($value)) {
            return 'NULL';
        }
        $connection = $this->node->getConnection();
        $pdo = $connection->getPdo();
        return $pdo->quote($value);
    }