@param string $mapName

@return mixed

@throws \OutOfBoundsException
18167
public function getMap($mapName)
    {
        if (isset($this->maps[$mapName]))
            return $this->maps[$mapName];

        throw new \OutOfBoundsException("There is no map registered with the name \"$mapName\"");
    }
908900
public function getMappedFirstEntitiesByEntityType($entityName)
    {
        $entities = [];
        foreach ($this->data as $data) {
            $entity = $this->createAndReturnNewFirstEntity($data, $entityName);
            if ($entity) {
                $entities[] = $entity;
            }
        }
        return $entities;
    }
225184
public function getOption($name)
    {
        if (!\array_key_exists($name, $this->options)) {
            throw new \OutOfBoundsException(\sprintf('Unknown option "%s"', $name));
        }

        return $this->options[$name];
    }
202730
public function getMapping($name)
    {
        if ($mappings = $this->getMappings()) {
            
            if (isset($mappings[$name])) {
                return $mappings[$name];
            }
            
        }
    }
338687
private function getEntityClassName($entityName)
    {
        if (!isset($this->entityClassMap[ $entityName ])) {
            $className = $entityName;
            if (!class_exists($className)) {
                $className = $this->defaultNamespace . $entityName;
                if (!class_exists($className)) {
                    //Cache that the class does not exist
                    $className = false;
                }
            }
            $this->entityClassMap[ $entityName ] = $className;
        }

        if ($this->entityClassMap[ $entityName ] === false) {
            throw new \OutOfBoundsException("Unknown entity {$entityName}");
        }

        return $this->entityClassMap[ $entityName ];
    }
248284
public function getPropertySchema(string $name): Schema
    {
        if (!isset($this->propertySchemas->$name)) {
            throw new \OutOfBoundsException("Property '$name' does not exist");
        }

        return $this->propertySchemas->$name;
    }
194576
public function getMappedTag($tag)
    {
        if (isset($this->mappedTags[$tag]) === true) {
            return $this->mappedTags[$tag];
        } else {
            throw new OutOfBoundsException('Annotation tag "' . $tag . '" was not mapped.');
        }
    }
709222
public function offsetGet($key)
    {
        if (isset($this->granules[$key])) {

            return $this->granules[$key];
        }
        throw new \OutOfBoundsException(sprintf('Granule "%s" is not defined.', $key));
    }
1268015
public function getQueryParam($name)
	{
		if(array_key_exists($name, $this->query))
		{
			return $this->query[$name];
		}
		
		if(func_num_args() > 1)
		{
			return func_get_arg(1);
		}
		
		throw new \OutOfBoundsException(sprintf('Query param not found: "%s"', $name));
	}
1231483
public function find($key)
    {
        if ($this->root) {
            $find = $this->root->find($key, $this->comparator, 0);
        } else {
            $find = null;
        }

        if ($find) {
            return $find;
        } else {
            throw new \OutOfBoundsException('Element unexisting');
        }
    }
692027
public function get($key)
	{
		$resolved = false;
		$value = $this->getByKey($key, $this->data, $resolved);
		
		if($resolved)
		{
			return $value;
		}
		
		if(func_num_args() > 1)
		{
			return func_get_arg(1);
		}
		
		throw new \OutOfBoundsException('Configuration setting not found: "' . $key . '"');
	}
338639
public function mapName($options = [])
    {
        $extractRmsName = isset($options['extractRMSName']) ? $options['extractRMSName'] : true;
        if ($extractRmsName && $this->isCustomMap()) {
            $nameExtractor = new MapNameExtractor($this->rec);
            $likelyName = $nameExtractor->run();
            if ($likelyName) {
                return $likelyName;
            }
        }
        return $this->rec->trans('map_names', $this->mapId);
    }
80800
function get ($name)
  {
    if (isset($this->items[$name]))
      return $this->items[$name];
    throw new \OutOfBoundsException (sprintf ("%s is not registered on %s.%sCurrently registered: %s", $name,
      static::class, PHP_EOL, $this->items ? implode (', ', array_keys ($this->items)) : '(empty)'));
  }
916092
public function getSingleAssociationJoinColumnName($fieldName)
    {
        if ( ! $this->isAssociationWithSingleJoinColumn($fieldName)) {
            throw MappingException::noSingleAssociationJoinColumnFound($this->name, $fieldName);
        }
        return $this->associationMappings[$fieldName]['joinColumns'][0]['name'];
    }
754643
public function getMethod($name)
    {
        if (!isset($this->methods[$name])) {
            throw new OutOfBoundsException(sprintf(
                'The method "%s" does not exist.',
                $name
            ));
        }

        return $this->methods[$name];
    }
88672
public function get($name){

        $this->fillScopes();

        if(!isset($this->scopeByName[$name])){
            throw new OutOfBoundsException("No scope named '$name' found");
        }

        return $this->scopeByName[$name];

    }
1280700
public function getOption($key)
    {
        if (!isset($this->options[ $key ])) {
            throw new \OutOfBoundsException("Option {$key} is not set.");
        }

        return $this->options[ $key ];
    }