src/Phinx/Db/Adapter/PdoAdapter.php
private function quoteValue($value)
    {
        if (is_numeric($value)) {
            return $value;
        }

        if ($value === null) {
            return 'null';
        }

        return $this->getConnection()->quote($value);
    }
private function quoteValue($value)
    {
        if (is_numeric($value)) {
            return $value;
        }

        if ($value === null) {
            return 'null';
        }

        return $this->getConnection()->quote($value);
    }
private function quoteValue ( $ value ) { if ( is_numeric ( $ value ) ) { return $ value ; } if ( $ value === null ) { return 'null' ; } return $ this -> getConnection ( ) -> quote ( $ value ) ; }
Quotes a database value.

@param mixed $value  The value to quote
@return mixed
Quotes a database value .