private function getTableName() { // Blatant violation of law of demeter return $this->getRepository()->getClassMetadata()->getTableName(); }