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
445e39e4
Commit
445e39e4
authored
Dec 12, 2011
by
jsor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup docblocks and use statements
parent
5bc8a179
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
97 additions
and
106 deletions
+97
-106
SchemaAlterTableAddColumnEventArgs.php
...octrine/DBAL/Event/SchemaAlterTableAddColumnEventArgs.php
+13
-14
SchemaAlterTableChangeColumnEventArgs.php
...rine/DBAL/Event/SchemaAlterTableChangeColumnEventArgs.php
+13
-14
SchemaAlterTableEventArgs.php
lib/Doctrine/DBAL/Event/SchemaAlterTableEventArgs.php
+10
-11
SchemaAlterTableRemoveColumnEventArgs.php
...rine/DBAL/Event/SchemaAlterTableRemoveColumnEventArgs.php
+13
-14
SchemaAlterTableRenameColumnEventArgs.php
...rine/DBAL/Event/SchemaAlterTableRenameColumnEventArgs.php
+13
-14
SchemaColumnDefinitionEventArgs.php
lib/Doctrine/DBAL/Event/SchemaColumnDefinitionEventArgs.php
+4
-5
SchemaCreateTableColumnEventArgs.php
lib/Doctrine/DBAL/Event/SchemaCreateTableColumnEventArgs.php
+13
-14
SchemaCreateTableEventArgs.php
lib/Doctrine/DBAL/Event/SchemaCreateTableEventArgs.php
+8
-9
SchemaDropTableEventArgs.php
lib/Doctrine/DBAL/Event/SchemaDropTableEventArgs.php
+8
-9
SchemaEventArgs.php
lib/Doctrine/DBAL/Event/SchemaEventArgs.php
+2
-2
No files found.
lib/Doctrine/DBAL/Event/SchemaAlterTableAddColumnEventArgs.php
View file @
445e39e4
...
...
@@ -19,10 +19,9 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\TableDiff
,
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\Column
,
Doctrine\DBAL\Schema\TableDiff
;
/**
* Event Arguments used when SQL queries for adding table columns are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
@@ -35,17 +34,17 @@ use Doctrine\Common\EventArgs,
class
SchemaAlterTableAddColumnEventArgs
extends
SchemaEventArgs
{
/**
* @var Column
* @var
\Doctrine\DBAL\Schema\
Column
*/
private
$_column
=
null
;
/**
* @var TableDiff
* @var
\Doctrine\DBAL\Schema\
TableDiff
*/
private
$_tableDiff
=
null
;
/**
* @var AbstractPlatform
* @var
\Doctrine\DBAL\Platforms\
AbstractPlatform
*/
private
$_platform
=
null
;
...
...
@@ -55,9 +54,9 @@ class SchemaAlterTableAddColumnEventArgs extends SchemaEventArgs
private
$_sql
=
array
();
/**
* @param Column $column
* @param TableDiff $tableDiff
* @param
AbstractPlatform $platform
* @param
\Doctrine\DBAL\Schema\
Column $column
* @param
\Doctrine\DBAL\Schema\
TableDiff $tableDiff
* @param
\Doctrine\DBAL\Platforms\AbstractPlatform $platform
*/
public
function
__construct
(
Column
$column
,
TableDiff
$tableDiff
,
AbstractPlatform
$platform
)
{
...
...
@@ -67,7 +66,7 @@ class SchemaAlterTableAddColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\Column
* @return
\
Doctrine\DBAL\Schema\Column
*/
public
function
getColumn
()
{
...
...
@@ -75,7 +74,7 @@ class SchemaAlterTableAddColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\TableDiff
* @return
\
Doctrine\DBAL\Schema\TableDiff
*/
public
function
getTableDiff
()
{
...
...
@@ -83,7 +82,7 @@ class SchemaAlterTableAddColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getPlatform
()
{
...
...
@@ -92,7 +91,7 @@ class SchemaAlterTableAddColumnEventArgs extends SchemaEventArgs
/**
* @param string|array $sql
* @return
Schema
EventArgs
* @return
\Doctrine\DBAL\Event\SchemaAlterTableAddColumn
EventArgs
*/
public
function
addSql
(
$sql
)
{
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableChangeColumnEventArgs.php
View file @
445e39e4
...
...
@@ -19,10 +19,9 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\TableDiff
,
Doctrine\DBAL\Schema\ColumnDiff
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\ColumnDiff
,
Doctrine\DBAL\Schema\TableDiff
;
/**
* Event Arguments used when SQL queries for changing table columns are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
@@ -35,17 +34,17 @@ use Doctrine\Common\EventArgs,
class
SchemaAlterTableChangeColumnEventArgs
extends
SchemaEventArgs
{
/**
* @var ColumnDiff
* @var
\Doctrine\DBAL\Schema\
ColumnDiff
*/
private
$_columnDiff
=
null
;
/**
* @var TableDiff
* @var
\Doctrine\DBAL\Schema\
TableDiff
*/
private
$_tableDiff
=
null
;
/**
* @var AbstractPlatform
* @var
\Doctrine\DBAL\Platforms\
AbstractPlatform
*/
private
$_platform
=
null
;
...
...
@@ -55,9 +54,9 @@ class SchemaAlterTableChangeColumnEventArgs extends SchemaEventArgs
private
$_sql
=
array
();
/**
* @param ColumnDiff $columnDiff
* @param TableDiff $tableDiff
* @param AbstractPlatform $platform
* @param
\Doctrine\DBAL\Schema\
ColumnDiff $columnDiff
* @param
\Doctrine\DBAL\Schema\
TableDiff $tableDiff
* @param
\Doctrine\DBAL\Platforms\
AbstractPlatform $platform
*/
public
function
__construct
(
ColumnDiff
$columnDiff
,
TableDiff
$tableDiff
,
AbstractPlatform
$platform
)
{
...
...
@@ -67,7 +66,7 @@ class SchemaAlterTableChangeColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\ColumnDiff
* @return
\
Doctrine\DBAL\Schema\ColumnDiff
*/
public
function
getColumnDiff
()
{
...
...
@@ -75,7 +74,7 @@ class SchemaAlterTableChangeColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\TableDiff
* @return
\
Doctrine\DBAL\Schema\TableDiff
*/
public
function
getTableDiff
()
{
...
...
@@ -83,7 +82,7 @@ class SchemaAlterTableChangeColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getPlatform
()
{
...
...
@@ -92,7 +91,7 @@ class SchemaAlterTableChangeColumnEventArgs extends SchemaEventArgs
/**
* @param string|array $sql
* @return
Schema
EventArgs
* @return
\Doctrine\DBAL\Event\SchemaAlterTableChangeColumn
EventArgs
*/
public
function
addSql
(
$sql
)
{
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableEventArgs.php
View file @
445e39e4
...
...
@@ -19,10 +19,9 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\TableDiff
,
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\Column
,
Doctrine\DBAL\Schema\TableDiff
;
/**
* Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
@@ -35,12 +34,12 @@ use Doctrine\Common\EventArgs,
class
SchemaAlterTableEventArgs
extends
SchemaEventArgs
{
/**
* @var TableDiff
* @var
\Doctrine\DBAL\Schema\
TableDiff
*/
private
$_tableDiff
=
null
;
/**
* @var AbstractPlatform
* @var
\Doctrine\DBAL\Platforms\
AbstractPlatform
*/
private
$_platform
=
null
;
...
...
@@ -50,8 +49,8 @@ class SchemaAlterTableEventArgs extends SchemaEventArgs
private
$_sql
=
array
();
/**
* @param TableDiff $tableDiff
* @param
AbstractPlatform $platform
* @param
\Doctrine\DBAL\Schema\
TableDiff $tableDiff
* @param
\Doctrine\DBAL\Platforms\AbstractPlatform $platform
*/
public
function
__construct
(
TableDiff
$tableDiff
,
AbstractPlatform
$platform
)
{
...
...
@@ -60,7 +59,7 @@ class SchemaAlterTableEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\TableDiff
* @return
\
Doctrine\DBAL\Schema\TableDiff
*/
public
function
getTableDiff
()
{
...
...
@@ -68,7 +67,7 @@ class SchemaAlterTableEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getPlatform
()
{
...
...
@@ -77,7 +76,7 @@ class SchemaAlterTableEventArgs extends SchemaEventArgs
/**
* @param string|array $sql
* @return
Schema
EventArgs
* @return
\Doctrine\DBAL\Event\SchemaAlterTable
EventArgs
*/
public
function
addSql
(
$sql
)
{
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableRemoveColumnEventArgs.php
View file @
445e39e4
...
...
@@ -19,10 +19,9 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\TableDiff
,
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\Column
,
Doctrine\DBAL\Schema\TableDiff
;
/**
* Event Arguments used when SQL queries for removing table columns are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
@@ -35,17 +34,17 @@ use Doctrine\Common\EventArgs,
class
SchemaAlterTableRemoveColumnEventArgs
extends
SchemaEventArgs
{
/**
* @var Column
* @var
\Doctrine\DBAL\Schema\
Column
*/
private
$_column
=
null
;
/**
* @var TableDiff
* @var
\Doctrine\DBAL\Schema\
TableDiff
*/
private
$_tableDiff
=
null
;
/**
* @var AbstractPlatform
* @var
\Doctrine\DBAL\Platforms\
AbstractPlatform
*/
private
$_platform
=
null
;
...
...
@@ -55,9 +54,9 @@ class SchemaAlterTableRemoveColumnEventArgs extends SchemaEventArgs
private
$_sql
=
array
();
/**
* @param Column $column
* @param TableDiff $tableDiff
* @param
AbstractPlatform $platform
* @param
\Doctrine\DBAL\Schema\
Column $column
* @param
\Doctrine\DBAL\Schema\
TableDiff $tableDiff
* @param
\Doctrine\DBAL\Platforms\AbstractPlatform $platform
*/
public
function
__construct
(
Column
$column
,
TableDiff
$tableDiff
,
AbstractPlatform
$platform
)
{
...
...
@@ -67,7 +66,7 @@ class SchemaAlterTableRemoveColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\Column
* @return
\
Doctrine\DBAL\Schema\Column
*/
public
function
getColumn
()
{
...
...
@@ -75,7 +74,7 @@ class SchemaAlterTableRemoveColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\TableDiff
* @return
\
Doctrine\DBAL\Schema\TableDiff
*/
public
function
getTableDiff
()
{
...
...
@@ -83,7 +82,7 @@ class SchemaAlterTableRemoveColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getPlatform
()
{
...
...
@@ -92,7 +91,7 @@ class SchemaAlterTableRemoveColumnEventArgs extends SchemaEventArgs
/**
* @param string|array $sql
* @return
Schema
EventArgs
* @return
\Doctrine\DBAL\Event\SchemaAlterTableRemoveColumn
EventArgs
*/
public
function
addSql
(
$sql
)
{
...
...
lib/Doctrine/DBAL/Event/SchemaAlterTableRenameColumnEventArgs.php
View file @
445e39e4
...
...
@@ -19,10 +19,9 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\TableDiff
,
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\Column
,
Doctrine\DBAL\Schema\TableDiff
;
/**
* Event Arguments used when SQL queries for renaming table columns are generated inside Doctrine\DBAL\Platform\*Platform.
...
...
@@ -40,17 +39,17 @@ class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs
private
$_oldColumnName
=
null
;
/**
* @var Column
* @var
\Doctrine\DBAL\Schema\
Column
*/
private
$_column
=
null
;
/**
* @var TableDiff
* @var
\Doctrine\DBAL\Schema\
TableDiff
*/
private
$_tableDiff
=
null
;
/**
* @var AbstractPlatform
* @var
\Doctrine\DBAL\Platforms\
AbstractPlatform
*/
private
$_platform
=
null
;
...
...
@@ -61,9 +60,9 @@ class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs
/**
* @param string $oldColumnName
* @param Column $column
* @param TableDiff $tableDiff
* @param
AbstractPlatform $platform
* @param
\Doctrine\DBAL\Schema\
Column $column
* @param
\Doctrine\DBAL\Schema\
TableDiff $tableDiff
* @param
\Doctrine\DBAL\Platforms\AbstractPlatform $platform
*/
public
function
__construct
(
$oldColumnName
,
Column
$column
,
TableDiff
$tableDiff
,
AbstractPlatform
$platform
)
{
...
...
@@ -82,7 +81,7 @@ class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\Column
* @return
\
Doctrine\DBAL\Schema\Column
*/
public
function
getColumn
()
{
...
...
@@ -90,7 +89,7 @@ class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\TableDiff
* @return
\
Doctrine\DBAL\Schema\TableDiff
*/
public
function
getTableDiff
()
{
...
...
@@ -98,7 +97,7 @@ class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getPlatform
()
{
...
...
@@ -107,7 +106,7 @@ class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs
/**
* @param string|array $sql
* @return
Schema
EventArgs
* @return
\Doctrine\DBAL\Event\SchemaAlterTableRenameColumn
EventArgs
*/
public
function
addSql
(
$sql
)
{
...
...
lib/Doctrine/DBAL/Event/SchemaColumnDefinitionEventArgs.php
View file @
445e39e4
...
...
@@ -19,8 +19,7 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Connection
,
use
Doctrine\DBAL\Connection
,
Doctrine\DBAL\Schema\Column
;
/**
...
...
@@ -34,7 +33,7 @@ use Doctrine\Common\EventArgs,
class
SchemaColumnDefinitionEventArgs
extends
SchemaEventArgs
{
/**
* @var \Doctrine\DBAL\Schema\Column
$column
* @var \Doctrine\DBAL\Schema\Column
*/
private
$_column
=
null
;
...
...
@@ -89,7 +88,7 @@ class SchemaColumnDefinitionEventArgs extends SchemaEventArgs
}
/**
* @return
array|
\Doctrine\DBAL\Schema\Column
* @return \Doctrine\DBAL\Schema\Column
*/
public
function
getColumn
()
{
...
...
@@ -129,7 +128,7 @@ class SchemaColumnDefinitionEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getDatabasePlatform
()
{
...
...
lib/Doctrine/DBAL/Event/SchemaCreateTableColumnEventArgs.php
View file @
445e39e4
...
...
@@ -19,10 +19,9 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\Table
,
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\Column
,
Doctrine\DBAL\Schema\Table
;
/**
* Event Arguments used when SQL queries for creating table columns are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
...
...
@@ -35,17 +34,17 @@ use Doctrine\Common\EventArgs,
class
SchemaCreateTableColumnEventArgs
extends
SchemaEventArgs
{
/**
* @var Column
* @var
\Doctrine\DBAL\Schema\
Column
*/
private
$_column
=
null
;
/**
* @var Table
* @var
\Doctrine\DBAL\Schema\
Table
*/
private
$_table
=
null
;
/**
* @var AbstractPlatform
* @var
\Doctrine\DBAL\Platforms\
AbstractPlatform
*/
private
$_platform
=
null
;
...
...
@@ -55,9 +54,9 @@ class SchemaCreateTableColumnEventArgs extends SchemaEventArgs
private
$_sql
=
array
();
/**
* @param Column $column
* @param Table $table
* @param
AbstractPlatform $platform
* @param
\Doctrine\DBAL\Schema\
Column $column
* @param
\Doctrine\DBAL\Schema\
Table $table
* @param
\Doctrine\DBAL\Platforms\AbstractPlatform $platform
*/
public
function
__construct
(
Column
$column
,
Table
$table
,
AbstractPlatform
$platform
)
{
...
...
@@ -67,7 +66,7 @@ class SchemaCreateTableColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\Column
* @return
\
Doctrine\DBAL\Schema\Column
*/
public
function
getColumn
()
{
...
...
@@ -75,7 +74,7 @@ class SchemaCreateTableColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\Table
* @return
\
Doctrine\DBAL\Schema\Table
*/
public
function
getTable
()
{
...
...
@@ -83,7 +82,7 @@ class SchemaCreateTableColumnEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getPlatform
()
{
...
...
@@ -92,7 +91,7 @@ class SchemaCreateTableColumnEventArgs extends SchemaEventArgs
/**
* @param string|array $sql
* @return
Schema
EventArgs
* @return
\Doctrine\DBAL\Event\SchemaCreateTableColumn
EventArgs
*/
public
function
addSql
(
$sql
)
{
...
...
lib/Doctrine/DBAL/Event/SchemaCreateTableEventArgs.php
View file @
445e39e4
...
...
@@ -19,8 +19,7 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Platforms\AbstractPlatform
,
use
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\Table
;
/**
...
...
@@ -34,7 +33,7 @@ use Doctrine\Common\EventArgs,
class
SchemaCreateTableEventArgs
extends
SchemaEventArgs
{
/**
* @var Table
* @var
\Doctrine\DBAL\Schema\
Table
*/
private
$_table
=
null
;
...
...
@@ -49,7 +48,7 @@ class SchemaCreateTableEventArgs extends SchemaEventArgs
private
$_options
=
null
;
/**
* @var AbstractPlatform
* @var
\Doctrine\DBAL\Platforms\
AbstractPlatform
*/
private
$_platform
=
null
;
...
...
@@ -59,10 +58,10 @@ class SchemaCreateTableEventArgs extends SchemaEventArgs
private
$_sql
=
array
();
/**
* @param Table $table
* @param
\Doctrine\DBAL\Schema\
Table $table
* @param array $columns
* @param array $options
* @param
AbstractPlatform $platform
* @param
Doctrine\DBAL\Platforms\AbstractPlatform $platform
*/
public
function
__construct
(
Table
$table
,
array
$columns
,
array
$options
,
AbstractPlatform
$platform
)
{
...
...
@@ -73,7 +72,7 @@ class SchemaCreateTableEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Schema\Table
* @return
\
Doctrine\DBAL\Schema\Table
*/
public
function
getTable
()
{
...
...
@@ -97,7 +96,7 @@ class SchemaCreateTableEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getPlatform
()
{
...
...
@@ -106,7 +105,7 @@ class SchemaCreateTableEventArgs extends SchemaEventArgs
/**
* @param string|array $sql
* @return
Schema
EventArgs
* @return
\Doctrine\DBAL\Event\SchemaCreateTable
EventArgs
*/
public
function
addSql
(
$sql
)
{
...
...
lib/Doctrine/DBAL/Event/SchemaDropTableEventArgs.php
View file @
445e39e4
...
...
@@ -19,8 +19,7 @@
namespace
Doctrine\DBAL\Event
;
use
Doctrine\Common\EventArgs
,
Doctrine\DBAL\Platforms\AbstractPlatform
,
use
Doctrine\DBAL\Platforms\AbstractPlatform
,
Doctrine\DBAL\Schema\Table
;
/**
...
...
@@ -34,12 +33,12 @@ use Doctrine\Common\EventArgs,
class
SchemaDropTableEventArgs
extends
SchemaEventArgs
{
/**
* @var string|Table
* @var string|
\Doctrine\DBAL\Schema\
Table
*/
private
$_table
=
null
;
/**
* @var AbstractPlatform
* @var
\Doctrine\DBAL\Platforms\
AbstractPlatform
*/
private
$_platform
=
null
;
...
...
@@ -49,8 +48,8 @@ class SchemaDropTableEventArgs extends SchemaEventArgs
private
$_sql
=
null
;
/**
* @param string|Table $table
* @param
AbstractPlatform $platform
* @param string|
\Doctrine\DBAL\Schema\
Table $table
* @param
\Doctrine\DBAL\Platforms\AbstractPlatform $platform
*/
public
function
__construct
(
$table
,
AbstractPlatform
$platform
)
{
...
...
@@ -63,7 +62,7 @@ class SchemaDropTableEventArgs extends SchemaEventArgs
}
/**
* @return string|Doctrine\DBAL\Schema\Table
* @return string|
\
Doctrine\DBAL\Schema\Table
*/
public
function
getTable
()
{
...
...
@@ -71,7 +70,7 @@ class SchemaDropTableEventArgs extends SchemaEventArgs
}
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
public
function
getPlatform
()
{
...
...
@@ -80,7 +79,7 @@ class SchemaDropTableEventArgs extends SchemaEventArgs
/**
* @param string $sql
* @return SchemaDropTableEventArgs
* @return
\Doctrine\DBAL\Event\
SchemaDropTableEventArgs
*/
public
function
setSql
(
$sql
)
{
...
...
lib/Doctrine/DBAL/Event/SchemaEventArgs.php
View file @
445e39e4
...
...
@@ -22,7 +22,7 @@ namespace Doctrine\DBAL\Event;
use
Doctrine\Common\EventArgs
;
/**
*
Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\AbstractPlatform
.
*
Base class for schema related events
.
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.com
...
...
@@ -37,7 +37,7 @@ class SchemaEventArgs extends EventArgs
private
$_preventDefault
=
false
;
/**
* @return SchemaEventArgs
* @return
\Doctrine\DBAL\Event\
SchemaEventArgs
*/
public
function
preventDefault
()
{
...
...
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