src/Viserio/Component/StaticalProxy/AliasLoader.php
public function alias($classes, string $alias = null): AliasLoaderContract
    {
        if (\is_array($classes)) {
            $this->aliases = \array_merge($this->aliases, $classes);

            return $this;
        }

        $this->aliases[$classes] = self::$cache[$classes] = $alias;

        return $this;
    }
public function alias($classes, string $alias = null): AliasLoaderContract
    {
        if (\is_array($classes)) {
            $this->aliases = \array_merge($this->aliases, $classes);

            return $this;
        }

        $this->aliases[$classes] = self::$cache[$classes] = $alias;

        return $this;
    }
{@inheritdoc}