/* (non-PHPdoc)
@see \CrudGenerator\Metadata\DataObject\MetaDataInterface::getName()
344540
public function getName($ucfirst = false)
    {
        $name = $this->name;

        if (strrchr($name, '\\') !== false) {
            $name = str_replace('\\', '', strrchr($name, '\\'));
        }
        $name = $this->camelCase($name);
        if (true === $ucfirst) {
            return ucfirst($name);
        } else {
            return $name;
        }
    }
1036347
public function name($name = null)
    {
        if ($name !== null) {
            $this->config('name', $name);
        }

        return $this->config('name');
    }
630665
public function getName()
    {
        if (!static::$name) {
            static::$name = str_replace(
                'Mailer',
                '',
                implode('', array_slice(explode('\\', get_class($this)), -1))
            );
        }

        return static::$name;
    }
484175
public function getName() {

		$name = $this->getFullName();

		if( empty( $name ) ) {

			$name	= $this->username;

			if( empty( $name ) ) {

				$name	= preg_split( '/@/', $this->email );
				$name	= $name[ 0 ];
			}
		}

		return $name;
	}
1240879
protected function _getHandlerName()
    {
        $handler = $this->get('handler');
        if (class_exists($handler)) {
            $handler = new $handler();
            $info = $handler->info();
            if (!empty($info['name'])) {
                return $info['name'];
            }
        }

        return $this->get('handler');
    }
582832
public function getName() {

		$name = '';

		foreach ( $this->caches as $cache ) {
			$name = $name . '::' . $cache->getName();
		}

		return __CLASS__ . $name;
	}
55550
public function name()
    {
        $args = func_get_args();
        $this->names = array_merge($this->names, $this->args_to_array($args));

        return $this;
    }
1366546
public function getGetterName()
    {
        return $this->replaceReservedMethod(sprintf('get%s', ucfirst($this->getUniqueName('get'))), $this->getOwner()->getPackagedName());
    }
685872
private function getName() {
		if($this->name === false) {
			$this->name = $this->pre . $this->getTime() . '_' . md5(mt_rand()) . $this->suf . '.' . $this->ext;
		}
		return $this->name;
	}
426969
public function getName()
    {
        if (!$this->isEmpty($this->name)) {
            return $this->name;
        }

        foreach (['getName', 'getOriginalName'] as $fn) {
            $name = call_user_func([$this->event, $fn]);

            if ($this->isEmpty($name) || $name === $this) {
                continue;
            }

            if ($name instanceof self) {
                return $name = $name->getName();
            }
        }

        return $this->name = $this->parseEventName();
    }
1076832
public function getName()
    {
        return isset($this->name) && $this->name ? $this->name : class_basename($this);
    }
1237478
public function displayName()
    {
        $reflection = new ReflectionFunction($this->closure->getClosure());

        return 'Closure ('.basename($reflection->getFileName()).':'.$reflection->getStartLine().')';
    }
1027043
public function getName()
    {
        /** @var Attendee $attendee */
        if (($mainContact = $this->MainContact()) && $mainContact->exists() && $name = $mainContact->getName()) {
            return $name;
        } else {
            return 'new reservation';
        }
    }
758104
public function getName()
    {
        if ($this->name === null) {
            $class = get_called_class();
            if (preg_match('/_+(.+)_+/', $class, $matches) > 0) {
                $this->name = $matches[1];
            } else {
                $this->name = '';
            }
        }

        return $this->name;
    }
1125459
function getName()
    {
        if ($this->name == '' || $this->name === null) {
            $name = str_replace('\\', '.', get_class($this));
            $this->setName($name);
        }

        return $this->name;
    }
196695
public function getName($name, $format = Metadata::RAW)
    {
        $names = $this->getNames();
        
        if (isset($names[$name])) {
            switch ($format) {
                case Metadata::RAW:
                    return $names[$name];
                case Metadata::CAMILIZED:
                    return Inflector::camelize($names[$name]);
                case Metadata::CLASSIFIED:
                    return Inflector::classify($names[$name]);
                case Metadata::UNDERSCORED:
                    return Inflector::underscore($names[$name]);
                default:
                    throw new NotFoundException('Unable to find correct inflector formatter');
            }
        }
        
        throw new NotFoundException(sprintf('Unable to find column name for "%s" with format "%s"',
            $name, $format));
    }
1120385
protected function getObjectManagerName(MetadataInterface $metadata): ?string
    {
        $objectManagerName = null;

        if ($metadata->hasParameter('options') && isset($metadata->getParameter('options')['object_manager'])) {
            $objectManagerName = $metadata->getParameter('options')['object_manager'];
        }

        return $objectManagerName;
    }