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
526c4ab1
Commit
526c4ab1
authored
Oct 19, 2007
by
Jonathan.Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made methods static.
parent
9440cf04
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doctrine.php
lib/Doctrine.php
+4
-4
No files found.
lib/Doctrine.php
View file @
526c4ab1
...
...
@@ -859,7 +859,7 @@ final class Doctrine
* @param string $migrationsPath
* @return void
*/
public
function
generateMigrationsFromDb
(
$migrationsPath
)
public
static
function
generateMigrationsFromDb
(
$migrationsPath
)
{
$builder
=
new
Doctrine_Migration_Builder
(
$migrationsPath
);
...
...
@@ -873,7 +873,7 @@ final class Doctrine
* @param string $modelsPath
* @return void
*/
public
function
generateMigrationsFromModels
(
$migrationsPath
,
$modelsPath
=
null
)
public
static
function
generateMigrationsFromModels
(
$migrationsPath
,
$modelsPath
=
null
)
{
$builder
=
new
Doctrine_Migration_Builder
(
$migrationsPath
);
...
...
@@ -886,7 +886,7 @@ final class Doctrine
* @param string $tableName
* @return void
*/
public
function
getTable
(
$tableName
)
public
static
function
getTable
(
$tableName
)
{
return
Doctrine_Manager
::
table
(
$tableName
);
}
...
...
@@ -898,7 +898,7 @@ final class Doctrine
* @param string $name
* @return void
*/
public
function
connection
(
$adapter
,
$name
=
null
)
public
static
function
connection
(
$adapter
,
$name
=
null
)
{
return
Doctrine_Manager
::
connection
(
$adapter
,
$name
);
}
...
...
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