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
5e2b7f89
Unverified
Commit
5e2b7f89
authored
Dec 26, 2017
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added visibility for interface methods as required by the coding standard
parent
d9aaf542
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
Connection.php
lib/Doctrine/DBAL/Driver/Connection.php
+10
-10
No files found.
lib/Doctrine/DBAL/Driver/Connection.php
View file @
5e2b7f89
...
...
@@ -36,14 +36,14 @@ interface Connection
*
* @return \Doctrine\DBAL\Driver\Statement
*/
function
prepare
(
$prepareString
);
public
function
prepare
(
$prepareString
);
/**
* Executes an SQL statement, returning a result set as a Statement object.
*
* @return \Doctrine\DBAL\Driver\Statement
*/
function
query
();
public
function
query
();
/**
* Quotes a string for use in a query.
...
...
@@ -53,7 +53,7 @@ interface Connection
*
* @return mixed
*/
function
quote
(
$input
,
$type
=
\PDO
::
PARAM_STR
);
public
function
quote
(
$input
,
$type
=
\PDO
::
PARAM_STR
);
/**
* Executes an SQL statement and return the number of affected rows.
...
...
@@ -62,7 +62,7 @@ interface Connection
*
* @return int
*/
function
exec
(
$statement
);
public
function
exec
(
$statement
);
/**
* Returns the ID of the last inserted row or sequence value.
...
...
@@ -71,40 +71,40 @@ interface Connection
*
* @return string
*/
function
lastInsertId
(
$name
=
null
);
public
function
lastInsertId
(
$name
=
null
);
/**
* Initiates a transaction.
*
* @return bool TRUE on success or FALSE on failure.
*/
function
beginTransaction
();
public
function
beginTransaction
();
/**
* Commits a transaction.
*
* @return bool TRUE on success or FALSE on failure.
*/
function
commit
();
public
function
commit
();
/**
* Rolls back the current transaction, as initiated by beginTransaction().
*
* @return bool TRUE on success or FALSE on failure.
*/
function
rollBack
();
public
function
rollBack
();
/**
* Returns the error code associated with the last operation on the database handle.
*
* @return string|null The error code, or null if no operation has been run on the database handle.
*/
function
errorCode
();
public
function
errorCode
();
/**
* Returns extended error information associated with the last operation on the database handle.
*
* @return array
*/
function
errorInfo
();
public
function
errorInfo
();
}
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