Added more docblock
This commit is contained in:
parent
8fd28fcd8f
commit
82847e1851
@ -80,6 +80,15 @@ class ClassMetadataBuilder
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds and embedded class
|
||||||
|
*
|
||||||
|
* @param string $fieldName
|
||||||
|
* @param string $class
|
||||||
|
* @param string|null $columnPrefix
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
public function addEmbedded($fieldName, $class, $columnPrefix = null)
|
public function addEmbedded($fieldName, $class, $columnPrefix = null)
|
||||||
{
|
{
|
||||||
$this->cm->mapEmbedded(array(
|
$this->cm->mapEmbedded(array(
|
||||||
|
@ -49,6 +49,12 @@ class EmbeddedBuilder
|
|||||||
$this->mapping = $mapping;
|
$this->mapping = $mapping;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the column prefix for all of the embedded columns.
|
||||||
|
*
|
||||||
|
* @param string $columnPrefix
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
public function setColumnPrefix($columnPrefix)
|
public function setColumnPrefix($columnPrefix)
|
||||||
{
|
{
|
||||||
$this->mapping['columnPrefix'] = $columnPrefix;
|
$this->mapping['columnPrefix'] = $columnPrefix;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user