src/includes/classes/Core/Utils/Pdo.php
public function quote($value): string
    {
        if (!($Pdo = $this->current)) {
            throw $this->c::issue('No PDO yet; i.e., unable to quote.');
        }
        switch (gettype($value)) {
            case 'int':
            case 'integer':
                return $Pdo->quote((string) $value, $Pdo::PARAM_INT);

            case 'float':
            case 'double':
                return $Pdo->quote((string) $value, $Pdo::PARAM_STR);

            case 'str':
            case 'string':
                return $Pdo->quote($value, $Pdo::PARAM_STR);

            default: // Unexpected data type.
                throw $this->c::issue('Unexpected data type; unable to quote.');
        }
    }
public function quote($value): string
    {
        if (!($Pdo = $this->current)) {
            throw $this->c::issue('No PDO yet; i.e., unable to quote.');
        }
        switch (gettype($value)) {
            case 'int':
            case 'integer':
                return $Pdo->quote((string) $value, $Pdo::PARAM_INT);

            case 'float':
            case 'double':
                return $Pdo->quote((string) $value, $Pdo::PARAM_STR);

            case 'str':
            case 'string':
                return $Pdo->quote($value, $Pdo::PARAM_STR);

            default: // Unexpected data type.
                throw $this->c::issue('Unexpected data type; unable to quote.');
        }
    }
Quotes/escapes SQL value.

@since 160422 SQL utils.

@param int|float|string $value Value.

@return string Quoted/escaped value (as a string).