Doctrine\ORM\Mapping\ClassMetadataInfo::setPrimaryTable
Sets the primary table definition. The provided array supports the following structure:
name => <tableName> (optional, defaults to class name) indexes => array of indexes (optional) uniqueConstraints => array of constraints (optional) If a key is omitted, the current value is kept.
Signature
public function setPrimaryTable(array
$table )
Parameters
$table
— array- The table description.