mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-257: Typo: @UniqueCosntraint and "yml" instead of XML in docs #317
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 15, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user petros:
http://www.doctrine-project.org/downloads/pdfs/manual-2-0-en.pdf
"UniqueCosntraint" is written instead of UniqueConstraint
on page 86:
"The XML mapping document of a class is loaded on-demand the first time it is requested and
<?php $driver->setFileExtension('.yml'); " it should be ".xml" I think, and copypaste was the source of problem.subsequently stored in the metadata cache. In order to work, this requires certain
conventions:
• Each entity/mapped superclass must get its own dedicated XML mapping document.
• The name of the mapping document must consist of the fully qualified name of the
class, where namespace separators are replaced by dots (.).
• All mapping documents should get the extension ".dcm.xml" to identify it as a
Doctrine mapping file. This is more of a convention and you are not forced to do
this. You can change the file extension easily enough.
@doctrinebot commented on GitHub (Jan 15, 2010):
Comment created by petros:
found version in the pdf
@doctrinebot commented on GitHub (Jan 31, 2010):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Jan 31, 2010):
Issue was closed with resolution "Fixed"