/** * Checks for required PHP extension. * @throws DriverException */ public function __construct(BaseStatement $statement = null) { if (!extension_loaded("pdo")) { throw new DriverException("Cannot instantiate Neevo PDO driver - PHP extension 'pdo' not loaded."); } if ($statement instanceof BaseStatement) { parent::__construct($statement); } }
function __construct(BaseStatement $statement = null) { if ($statement !== null) { return parent::__construct($statement); } }