Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Doctrine\DBAL\Exception;
4
 
5
use Doctrine\DBAL\Exception;
6
 
7
/**
8
 * Exception to be thrown when invalid arguments are passed to any DBAL API
9
 *
10
 * @psalm-immutable
11
 */
12
class InvalidArgumentException extends Exception
13
{
14
    /** @return self */
15
    public static function fromEmptyCriteria()
16
    {
17
        return new self('Empty criteria was used, expected non-empty criteria');
18
    }
19
}