Doctrine\DBAL\DBALException::notSupported PHP Method

notSupported() public static method

public static notSupported ( string $method ) : DBALException
$method string
return DBALException
    public static function notSupported($method)
    {
        return new self("Operation '{$method}' is not supported by platform.");
    }

Usage Example

Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function getIndexDeclarationSQL($name, Index $index)
 {
     // Index declaration in statements like CREATE TABLE is not supported.
     throw DBALException::notSupported(__METHOD__);
 }
All Usage Examples Of Doctrine\DBAL\DBALException::notSupported