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
9e9ab7fb
Commit
9e9ab7fb
authored
Oct 15, 2007
by
Jonathan.Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added documentation.
parent
37ffee97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
Cli.php
lib/Doctrine/Cli.php
+30
-0
No files found.
lib/Doctrine/Cli.php
View file @
9e9ab7fb
...
...
@@ -36,11 +36,23 @@ class Doctrine_Cli
protected
$scriptName
=
null
;
protected
$config
=
array
();
/**
* __construct
*
* @param string $config
* @return void
*/
public
function
__construct
(
$config
=
array
())
{
$this
->
config
=
$config
;
}
/**
* run
*
* @param string $args
* @return void
*/
public
function
run
(
$args
)
{
$this
->
scriptName
=
$args
[
0
];
...
...
@@ -71,6 +83,13 @@ class Doctrine_Cli
}
}
/**
* prepareArgs
*
* @param string $taskInstance
* @param string $args
* @return void
*/
protected
function
prepareArgs
(
$taskInstance
,
$args
)
{
$args
=
array_values
(
$args
);
...
...
@@ -110,6 +129,11 @@ class Doctrine_Cli
return
$prepared
;
}
/**
* printTasks
*
* @return void
*/
public
function
printTasks
()
{
$tasks
=
$this
->
loadTasks
();
...
...
@@ -161,6 +185,12 @@ class Doctrine_Cli
}
}
/**
* loadTasks
*
* @param string $directory
* @return void
*/
public
function
loadTasks
(
$directory
=
null
)
{
if
(
$directory
===
null
)
{
...
...
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