Returns a given branding.

@param string $name

@return Branding
974556
public function getBranding($name)
    {
        foreach ($this->brandings as $branding) {
            if ($branding->getName() === $name) {
                return $branding;
            }
        }

        $names = array_map(function ($branding) {
            return $branding->getName();
        }, $this->brandings);

        throw new \InvalidArgumentException(sprintf('No branding named "%s". Available are: %s.', $name, implode(', ', $names)));
    }
612181
public function get($name)
    {
        if (!isset($this->svg[$name])) {
            $this->svg[$name] = new Svg($this->load($name));
        }

        if ($this->svg[$name] !== false) {
            return $this->svg[$name];
        }
    }
1118315
public function getAlias($name)
    {
        $aliases = $this->getAliases();
        if (isset($aliases[$name])) {
            return $aliases[$name];
        }
        return null;
    }
116035
public function getByNameOrCreate($name)
    {
        if ($tag = $this->getByName($name)) {
            return $tag;
        }

        return $this->create($name);
    }
752096
public function get($name)
    {
        $name = ltrim($name, '\\');
        if (! isset($this->instances[$name])) {
            $this->instances[$name] = $this->newInstance($name);
        }
        return $this->instances[$name];
    }
1163380
public static function getResource(string $name)
    {
        $resource = static::getInstance($name)->getResource();

        if(RequestContext::exsits() && $resource)
        {
            static::pushResourceToRequestContext($resource);
        }

        return $resource;
    }
805156
public static function get(string $name)
    {
        return (isset($_GET[$name]) && $_GET[$name] != '') ? $_GET[$name] : '';
    }
1107670
public function get( $name )
	{
		$name = self::normalizeKey($name);
		if(parent::offsetExists($name))
		{
			return $this->items[$name];
		}
		return $this->itemsGetUndefined;
	}
423188
public function label($name)
    {
        $path = $this->path.'.attributes.'.$name;

        return $this->translator->get($path);
    }
1072961
public function get($name)
    {
        return $this->cookieBag->key($this->cookiePrefix . $name, false, true);
    }
979898
public function getAttribute($name)
    {
        foreach ($this->attributes as $attribute) {
            if ($attribute->getName() == $name) {
                return $attribute;
            }
        }

        return false;
    }
1316300
public function get(string $name)
    {
        if (empty($name)) {
            return null;
        }

        if (isset($this->{$name})) {
            return $this->{$name};
        }

        if (isset($this->properties[$name])) {
            return $this->properties[$name];
        }

        return null;
    }
367742
public static function get(string $name): ?string
    {
        $data = Session::get($name, null, self::$namespace);
        if (is_array($data) && array_key_exists('token', $data)) {
            return $data['token'];
        }
        return null;
    }
1128003
public function get(string $name): string {
        if (!isset($this->get[$name])) {
            return "";
        }
        return $this->get[$name];
    }
1297596
public function getAttribute($name)
    {
        if (!\array_key_exists($name, $this->attributes)) {
            throw new \InvalidArgumentException(sprintf('This token has no "%s" attribute.', $name));
        }

        return $this->attributes[$name];
    }
898133
public static function getIdentifier(string $name) : string
    {
        return str_replace(
            '.',
            '',
            uniqid(
                preg_match(static::VALID_IDENTIFIER_FORMAT, $name)
                ? $name
                : static::DEFAULT_IDENTIFIER,
                true
            )
        );
    }
413344
public function get( $name ) {

		if ( ! isset( $this->cookie[ $name ] ) ) { // Input var okay.
			return null;
		}

		return strip_tags( stripslashes( $this->cookie[ $name ] ) ); // Input var okay.
	}