code: public function getAlias(string $abstract): string
      {
          if (! isset($this->aliases[$abstract])) {
              return $abstract;
          }
          if ($this->aliases[$abstract] === $abstract) {
              throw new ContainerException("[{$abstract}] is aliased to itself.");
          }
  
          return $this->getAlias($this->aliases[$abstract]);
      }
docs: Get the alias for an abstract if available.
  
  @param string $abstract
  
  @throws \LogicException
  
  @return string