Returns the name of the container

@return string
971725
protected function magicGetName()
    {
        if (property_exists($this, 'magicName') && (!empty($this->magicName))) {
            return $this->magicName;
        }
        return get_class($this);
    }
506150
protected function getPluralItemName() {
        if (count($this->injectedData) == 1) {
            return $this->getItemName();
        } else {
            $lastChar = strtolower(substr($this->getItemName(), strlen($this->getItemName()) -1, 1));
            if ($lastChar == 's') {
                return $this->getItemName() . 'es';
            } else if ($lastChar == 'y') {
                return substr($this->getItemName(), 0, strlen($this->getItemName()) - 1) . 'ies';
            } else {
                return $this->getItemName().'s';
            }
        }
    }
146515
public function getCurrentSelectionName()
    {
        $name = $this->getDefaultSelectionName();

        if ($this->getCurrentContainerName()) {
            $name = $this->getCurrentContainerLabel();
            if ($this->getCurrentStoreName()) {
                $name .= " > " . $this->getCurrentStoreName();
            }
        }

        return $name;
    }
277358
public function getName()
	{
		if (empty($this->name))
		{
			$reflect = new \ReflectionClass($this);

			$this->name = strtolower(str_replace('Driver', '', $reflect->getShortName()));
		}

		return $this->name;
	}
1317063
public function getName()
    {
        if (!$this->_name) {
            $class = Type::short($this);
            $this->_name = Helper::rtrimWord(Type::snake_case($class, '-'), '-type');
        }

        return $this->_name;

    }
300257
public function getName()
    {
        if (!empty($this->nameSingular)) {
            return Piwik::translate($this->nameSingular);
        }

        return $this->nameSingular;
    }
188071
public static function getContainer()
    {
        if (!(self::$container instanceof Container)) {
            self::$container = new Container();
            self::$container->load();
        }

        return self::$container;
    }
855930
protected function getChildName()
    {
        if ($this->childname === null) {
            $classname = get_class($this);
            $pos = max(strrpos($classname, '_Array'), strrpos($classname, '\ArrayObject'));
            $this->childname = substr($classname, 0, $pos);
        }
        return $this->childname;
    }
1284145
public function getUniqueName()
    {
        $key = 'uniq';

        // Lazy initialization
        if (!isset($this->container[$key])) {
            $extension = $this->getExtension();

            // If extension avaiable, use it
            if ($extension) {
                $name = sprintf('%s.%s', uniqid(), $extension);
            } else {
                // Otherwise just filename without extension
                $name = uniqid();
            }

            $this->container[$key] = $name;
        }

        return $this->container[$key];
    }
531237
public function getFilename()
    {
        if ($this->isDirty && $this->filename) {
            return $this->filename;
        }

        if ($this->riakGridFSFile instanceof \RiakGridFSFile && $filename = $this->riakGridFSFile->getFilename()) {
            return $filename;
        }

        return $this->filename;
    }
657735
final public function getName(): string
    {
        try {
            $reflexionConstant = new ReflectionClassConstant($this, 'NAME');
            $this->name        = $reflexionConstant->getValue();
        }
        catch (Exception $e) {
        }

        return $this->name;
    }
975198
public function getName()
	{
		$strName = parent::getName();
		if (empty($strName)) {
			$strName = $this->__name = $this->__generateName();
		}

		return $strName;
	}
1145254
public function GetObjectName() 
	{
		if (is_numeric(substr($this->Name, 0, 1))) {
			return self::$NUMERIC_TABLE_PREFIX . $this->Name;
		}
		
		return $this->Name;
	}
1167642
public function getResourceName()
    {
        return $this->name !== null ? $this->name : str_replace('_', '-', (new Inflector())->tableize($this->getManager()->getName()));
    }
656056
public function getName() {
		if ($this->_name === null) {
			$name = get_class($this);
			$pos = strrpos($name, '\\');
			if ($pos !== false) {
				$name = substr($name, $pos + 1);
			}
			if (preg_match('/^Twig([A-Za-z]+)Extension$/', $name, $matches)) {
				$name = $matches[1];
			}
			$this->_name = strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', $name));
		}
		return $this->_name;
	}
248950
public function getName()
    {
        $name = 'Request consumer: ';
        if ($this->queue) {
            $name .= ' on queue: ' . $this->queue->getName();
            $name .= ', on host: ' 
                . $this->queue->getConnection()->getHost() . ':' . $this->queue->getConnection() ->getPort();
            $name .= ', ' . $this->queue->getConnection()->isConnected() ? 'connected' : 'disconnected';
        }
        
        return $name;
    }
952261
public function get_name() {
        if (get_string_manager()->string_exists('pluginname', $this->component)) {
            return get_string('pluginname', $this->component);
        }
        return $this->store;
    }