original_string: protected function registerComponents()
      {
          ComponentManager::instance()->registerComponents(function ($manager) {
              $manager->registerComponent(\Cms\Components\ViewBag::class, 'viewBag');
              $manager->registerComponent(\Cms\Components\Resources::class, 'resources');
          });
      }
code: protected function registerComponents()
      {
          ComponentManager::instance()->registerComponents(function ($manager) {
              $manager->registerComponent(\Cms\Components\ViewBag::class, 'viewBag');
              $manager->registerComponent(\Cms\Components\Resources::class, 'resources');
          });
      }
code_tokens: protected function registerComponents ( ) { ComponentManager :: instance ( ) -> registerComponents ( function ( $ manager ) { $ manager -> registerComponent ( \ Cms \ Components \ ViewBag :: class , 'viewBag' ) ; $ manager -> registerComponent ( \ Cms \ Components \ Resources :: class , 'resources' ) ; } ) ; }
docstring: Register components.
docstring_tokens: Register components .