app->singleton( TemplateHierarchy::class, Component::class ); $this->app->alias( TemplateHierarchy::class, 'template/hierarchy' ); } /** * Boots the hierarchy by firing its hooks in the `boot()` method. * * @since 3.0.0 * @access public * @return void */ public function boot() { $this->app->resolve( 'template/hierarchy' )->boot(); } }