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 check if left date interval overlaps with right interval.
*
* @see https://www.postgresql.org/docs/9.6/functions-datetime.html
* @since 1.7.0
* @author Ramil Gallyamov <[email protected]>
*/
class DateOverlaps extends BaseFunction
{
protected function customiseFunction(): void
$this->setFunctionPrototype('(%s, %s) OVERLAPS (%s, %s)');
$this->addNodeMapping('StringExpression');
}