ASTException.php 287 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

namespace Doctrine\ORM\Query\AST;

use Doctrine\ORM\Query\QueryException;

class ASTException extends QueryException
{
    public static function noDispatchForNode($node)
    {
        return new self("Double-dispatch for node " . get_class($node) . " is not supported.");
    }
}