Doctrine\DBAL\Schema\AbstractAsset
/Doctrine/DBAL/Schema/AbstractAsset.php at line 36
Class AbstractAsset
AbstractAsset
public abstract class AbstractAsset
- License:
- http://www.opensource.org/licenses/lgpl-license.php LGPL
- See Also:
www.doctrine-project.org
- Since:
- 2.0
- Version:
- $Revision$
- Author:
- Benjamin Eberlei
Field Summary |
protected string |
$_name |
Method Summary |
string |
getName() Return name of this schema asset. |
Field Detail
/Doctrine/DBAL/Schema/AbstractAsset.php at line 41
_name
protected string $_name
Method Detail
/Doctrine/DBAL/Schema/AbstractAsset.php at line 58
getName
public string getName()
Return name of this schema asset.
The abstract asset allows to reset the name of all assets without publishing this to the public userland.
This encapsulation hack is necessary to keep a consistent state of the database schema. Say we have a list of tables array($tableName => Table($tableName)); if you want to rename the table, you have to make sure