Blast\Orm\Entity\Definition::getTableName PHP Method

getTableName() public method

Add prefix if if $withPrefix is true and a prefix exists
public getTableName ( boolean $withPrefix = true ) : string
$withPrefix boolean
return string
    public function getTableName($withPrefix = true)
    {
        $prefix = ConnectionManager::getInstance()->get()->getPrefix();
        return (true === $withPrefix && strlen($prefix) > 0 ? rtrim($prefix, '_') . '_' : '') . $this->configuration['tableName'];
    }