Returns the entity name.

@throws AutoConfigurationFailedException

@return string the entity reference string
972139
protected function getFullEntityName () : string
    {
        $entityClass = $this->classNameTransformer->transformModelToEntity(static::class);

        if (!\class_exists($entityClass))
        {
            throw new AutoConfigurationFailedException(\sprintf(
                "Cannot automatically generate entity name for model '%s', guessed '%s'.",
                static::class,
                $entityClass
            ));
        }

        return $entityClass;
    }
1019193
protected function getRepository()
    {
        if (null === $this->repository) {
            $this->repository = $this->getEntityManager()
                    ->getRepository($this->getModuleNamespace() . '\Entity\\' . $this->getEntityName());
        }
        return $this->repository;
    }
1121668
private function enumConstraint(): string
    {
        if (empty($this->constrainName)) {
            $this->constrainName = $this->table . '_' . $this->getName() . '_enum_' . uniqid();
        }

        return $this->constrainName;
    }
830636
public function getEntityStatus()
    {
        $info = [];
        $entityClassNames = $this->entityManager->getConfiguration()->getMetadataDriverImpl()->getAllClassNames();
        foreach ($entityClassNames as $entityClassName) {
            try {
                $info[$entityClassName] = $this->entityManager->getClassMetadata($entityClassName);
            } catch (MappingException $e) {
                $info[$entityClassName] = $e->getMessage();
            }
        }

        return $info;
    }
172792
public function getListObjectManagerName()
    {
        if ($this->listObjectManagerName) {
            return $this->listObjectManagerName;
        }

        if (!$this->isValidDoctrineOrmModuleEntityManagerConfig()) {
            $this->listObjectManagerName = [];
            return $this->listObjectManagerName;
        }

        $doctrineConfig = $this->getDoctrineConfig();

        $listObjectManagerName = array_keys($doctrineConfig['entitymanager']);
        $prepareListObjectManagerName = array_map(function ($objectManagerName) {
            return 'doctrine.entitymanager.' . $objectManagerName;
        }, $listObjectManagerName);

        $this->listObjectManagerName = array_combine($listObjectManagerName, $prepareListObjectManagerName);

        return $this->listObjectManagerName;
    }
493155
public function getName()
    {
        if (!$this->entity->getTranslation($this->locale)) {
            return null;
        }

        return $this->entity->getTranslation($this->locale)->getName();
    }
700831
public function getIdentifiersName()
    {
        $name = $this->tableName . '[' . static::IDENTIFIERS . ']';

        if ($this->selectionMode == Config::SELECTION_MULTIPLE) {
            $name .= '[]';
        }

        return $name;
    }
486464
public function getLabel()
    {
        if (!$this->entryFormatter) {
            $this->entryFormatter = Application::getFacadeApplication()->make(EntryFormatterInterface::class);
        }

        if ($mask = $this->getEntity()->getLabelMask()) {
            $name = $this->entryFormatter->format($mask, $this);
        }

        if (!$name) {
            $name = $this->entryFormatter->getLabel($this);
        }

        return $name;
    }
1287836
public function getEntityName()
    {
        if (null == $this->entityName) {
            $this->setEntityName(get_class($this->getEntity()));
        }
        return $this->entityName;
    }
714932
public function getName()
    {
        if ($this->_name === null) {
            $endpoint = namespaceSplit(get_class($this));
            $endpoint = substr(end($endpoint), 0, -8);

            $inflectMethod = $this->getInflectionMethod();
            $this->_name = Inflector::$inflectMethod($endpoint);
        }

        return $this->_name;
    }
744965
public function getEntityUrl() : string
    {
        $result = Router::url(
            [
                'prefix' => false,
                'controller' => $this->table->getTable(),
                'action' => 'view',
                $this->entity->id
            ],
            true
        );

        return $result;
    }
281509
public function getTable(): string
    {
        if ($this->table === null) {
            $this->table = $this->getEntityName() . 's';
        }

        return $this->table;
    }
193227
private function resolveDefaultHostName()
    {
        $request = $this->di->get('request');
        $config = $this->di->get('config');
        if (isset($config->application->hostname)) {
            $hostName = $config->application->hostname;
        } else if ($request->getServer('HTTP_HOST')) {
            $hostName = $request->getServer('HTTP_HOST');
        } else {
            $hostName = null;
        }
        if (null !== $hostName) {
            $hostName = '(www\.)?' . $hostName;
        }

        return $hostName;
    }
220090
public function getName(): string
    {
        if (null === $this->name) {
            // If we're grabbing via session_name(), we don't need our
            // validation routine; additionally, calling setName() after
            // session_start() can lead to issues, and often we just need the name
            // in order to do things such as setting cookies.
            $this->name = session_name();
        }
        return $this->name;
    }
648264
public function getFailRouteName()
    {
        if($this->group->hasFailRoute())
            return $this->group->getFailRoute();

        $group = $this->group;

        while($route = $group->getUpperRoute())
        {
            /** @var Group $group */
            $group = $route->getGroup();

            if($group->hasFailRoute())
                return $group->getFailRoute();
        }

        return null;
    }
28635
protected function getEntityNamePlural()
    {
        $name = $this->getEntityNameSingular();
        $nameParts = Text::camelCaseToSeparator($name, '#');
        $nameParts = explode('#', $nameParts);
        $lastPart = array_pop($nameParts);
        $lastPart = ucfirst(Text::plural(strtolower($lastPart)));
        array_push($nameParts, $lastPart);
        return lcfirst(implode('', $nameParts));
    }
196900
private function getNameManager() {
		if (! $this->_namemanager) {
			if (in_array($this->config['namespace'], $this->config['modules']))
				$this->dataNamespace = $this->config['namespace'];
			
			if ($this->config['entitysingular'])
				$this->entitysingular = $this->config['entitysingular'];
			
			if ($this->entitysingular)
				if ($this->config['singularignore'])
					$this->singularignore = $this->config['singularignore'];
			
			$nm = new NameManager($this->dataNamespace, $this->params('table'));
			if (! $this->entitysingular) {
				$nm->entitySingular(false);
			} else {
				$nm->setEntitySingularIgnores($this->singularignore);
			}
			
			$this->_namemanager = $nm;
		}
		return $this->_namemanager;
	}