1
0
mirror of synced 2024-12-16 08:06:02 +03:00
doctrine2/lib/Doctrine/Mapper/SingleTable.php

16 lines
337 B
PHP

<?php
class Doctrine_Mapper_SingleTable extends Doctrine_Mapper
{
public function getDiscriminatorColumn($domainClassName)
{
$inheritanceMap = $this->_table->getOption('inheritanceMap');
return isset($inheritanceMap[$domainClassName]) ? $inheritanceMap[$domainClassName] : array();
}
}