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
50f727b5
Commit
50f727b5
authored
Nov 17, 2009
by
guilhermeblanco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Major refactorings to CLI. New documentation applied. Missing validation and tests
parent
67665aa5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
52 deletions
+0
-52
SchemaToolTask.php
lib/Doctrine/ORM/Tools/Cli/Tasks/SchemaToolTask.php
+0
-52
No files found.
lib/Doctrine/ORM/Tools/Cli/Tasks/SchemaToolTask.php
View file @
50f727b5
...
@@ -87,58 +87,6 @@ class SchemaToolTask extends AbstractTask
...
@@ -87,58 +87,6 @@ class SchemaToolTask extends AbstractTask
->
addOption
(
$optionalOptions
);
->
addOption
(
$optionalOptions
);
}
}
/**
* @inheritdoc
*/
/*public function extendedHelp()
{
$printer = $this->getPrinter();
$printer->write('Task: ')->writeln('schema-tool', 'KEYWORD')
->write('Synopsis: ');
$this->_writeSynopsis($printer);
$printer->writeln('Description: Processes the schema and either apply it directly on EntityManager or generate the SQL output.')
->writeln('Options:')
->write('--create', 'REQ_ARG')
->writeln("\t\tCreates the schema in EntityManager (create tables on Database)")
->writeln("\t\t\tIf defined, --drop and --update can not be requested on same task")
->write(PHP_EOL)
->write('--drop=<metadata|database>', 'REQ_ARG')
->writeln("\t\t\tDrops the schema of EntityManager (drop tables on Database)")
->writeln("\t\t\tDefaults to 'metadata' if only --drop is specified.")
->writeln("\t\t\tIf defined, --create and --update can not be requested on same task")
->write(PHP_EOL)
->write('--update', 'REQ_ARG')
->writeln("\t\tUpdates the schema in EntityManager (update tables on Database)")
->writeln("\t\t\tIf defined, --create and --drop can not be requested on same task")
->write(PHP_EOL)
->write('--re-create', 'REQ_ARG')
->writeln("\t\tRuns --drop then --create to re-create the database.")
->write(PHP_EOL)
->write('--dump-sql', 'OPT_ARG')
->writeln("\t\tInstead of try to apply generated SQLs into EntityManager, output them.")
->write(PHP_EOL)
->write('--class-dir=<path>', 'OPT_ARG')
->writeln("\tOptional class directory to fetch for Entities.")
->write(PHP_EOL);
}*/
/**
* @inheritdoc
*/
/*public function basicHelp()
{
$this->_writeSynopsis($this->getPrinter());
}
private function _writeSynopsis($printer)
{
$printer->write('schema-tool', 'KEYWORD')
->write(' (--create | --drop=<metadata|database> | --update | --re-create)', 'REQ_ARG')
->writeln(' [--dump-sql] [--class-dir=<path>]', 'OPT_ARG');
}*/
/**
/**
* @inheritdoc
* @inheritdoc
*/
*/
...
...
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