Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
1eb38227
Commit
1eb38227
authored
Nov 15, 2013
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot removing method from Driver interface, documented ExceptionConverterDriver better.
parent
34b0c292
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Driver.php
lib/Doctrine/DBAL/Driver.php
+0
-7
ExceptionConverterDriver.php
lib/Doctrine/DBAL/Driver/ExceptionConverterDriver.php
+6
-0
No files found.
lib/Doctrine/DBAL/Driver.php
View file @
1eb38227
...
...
@@ -72,11 +72,4 @@ interface Driver
* @return string The name of the database.
*/
public
function
getDatabase
(
Connection
$conn
);
/**
* @param \Exception $exception
*
* @return int
*/
public
function
convertExceptionCode
(
\Exception
$exception
);
}
lib/Doctrine/DBAL/Driver/ExceptionConverterDriver.php
View file @
1eb38227
...
...
@@ -29,6 +29,12 @@ use Exception;
interface
ExceptionConverterDriver
{
/**
* Method converts driver exceptions to standard error codes from
* {@see Doctrine\DBAL\DBALException}.
*
* The DBALException error codes are returned from this method
* and the DBAL decides how to convert them into a common exception.
*
* @param \Exception $exception
*
* @return int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment