コード例 #1
0
 /**
  * {@inheritdoc}
  */
 protected function getInsertColumnList()
 {
     $columns = parent::getInsertColumnList();
     // Add discriminator column to the INSERT SQL
     $columns[] = $this->class->discriminatorColumn['name'];
     return $columns;
 }