for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MartinGeorgiev\Doctrine\ORM\Query\AST\Functions;
/**
* Implementation of PostgreSql REGEXP_REPLACE().
*
* @see https://www.postgresql.org/docs/15/functions-matching.html#FUNCTIONS-POSIX-REGEXP
* @since 2.5.0
* @author Colin Doig
*/
class FlaggedRegexpReplace extends BaseFunction
{
protected function customiseFunction(): void
$this->setFunctionPrototype('regexp_replace(%s, %s, %s, %s)');
$this->addNodeMapping('StringPrimary');
}