protected function getEntityTable($subject)
    {
        if (!isset($this->tableNames[$subject])) {
            $this->tableNames[$subject] = $this->resolveEntityTable($subject);
        }

        return $this->tableNames[$subject];
    }