public function getTable($entity)
    {
        $tables = $this->getTables();

        if (empty($tables[$entity])) {
            throw new OutOfBoundsException("Entity $entity is not supported for translations");
        }

        return $tables[$entity];
    }
public function getTable($entity)
    {
        $tables = $this->getTables();

        if (empty($tables[$entity])) {
            throw new OutOfBoundsException("Entity $entity is not supported for translations");
        }

        return $tables[$entity];
    }
public function getTable ( $ entity ) { $ tables = $ this -> getTables ( ) ; if ( empty ( $ tables [ $ entity ] ) ) { throw new OutOfBoundsException ( "Entity $entity is not supported for translations" ) ; } return $ tables [ $ entity ] ; }
Returns a database table name for the entity
@param string $entity
@return string
@throws OutOfBoundsException
Returns a database table name for the entity