code: protected function registerApplicationAliases()
      {
          foreach ($this->config['services']['aliases'] as $key => $alias) {
              $this->alias($key, $alias);
              if (! class_exists($key)) {
                  class_alias($alias, $key);
              }
          }
      }
docs: Register aliases of Application
  
  @return void