Commit 445e39e4 authored by jsor's avatar jsor

Cleanup docblocks and use statements

parent 5bc8a179
......@@ -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 SchemaEventArgs
* @return \Doctrine\DBAL\Event\SchemaAlterTableAddColumnEventArgs
*/
public function addSql($sql)
{
......
......@@ -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 SchemaEventArgs
* @return \Doctrine\DBAL\Event\SchemaAlterTableChangeColumnEventArgs
*/
public function addSql($sql)
{
......
......@@ -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 SchemaEventArgs
* @return \Doctrine\DBAL\Event\SchemaAlterTableEventArgs
*/
public function addSql($sql)
{
......
......@@ -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 SchemaEventArgs
* @return \Doctrine\DBAL\Event\SchemaAlterTableRemoveColumnEventArgs
*/
public function addSql($sql)
{
......
......@@ -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 SchemaEventArgs
* @return \Doctrine\DBAL\Event\SchemaAlterTableRenameColumnEventArgs
*/
public function addSql($sql)
{
......
......@@ -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()
{
......
......@@ -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 SchemaEventArgs
* @return \Doctrine\DBAL\Event\SchemaCreateTableColumnEventArgs
*/
public function addSql($sql)
{
......
......@@ -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 SchemaEventArgs
* @return \Doctrine\DBAL\Event\SchemaCreateTableEventArgs
*/
public function addSql($sql)
{
......
......@@ -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)
{
......
......@@ -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()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment