src/Viserio/Component/Container/Container.php
public function bind($abstract, $concrete = null): void
    {
        $concrete = $concrete ?? $abstract;

        if (\is_array($abstract)) {
            $this->bindService(\key($abstract), $concrete);
            $this->alias(\key($abstract), \current($abstract));
        } else {
            $this->bindService($abstract, $concrete);
        }
    }
public function bind($abstract, $concrete = null): void
    {
        $concrete = $concrete ?? $abstract;

        if (\is_array($abstract)) {
            $this->bindService(\key($abstract), $concrete);
            $this->alias(\key($abstract), \current($abstract));
        } else {
            $this->bindService($abstract, $concrete);
        }
    }
{@inheritdoc}