new Assets(), 'patterns' => new Patterns(), 'template-parts' => new TemplateParts(), 'templates' => new Templates(), 'image-sizes' => new ImageSizes(), 'theme-config' => new ThemeConfig() ] ); // Boot each of the components. foreach ( $bindings as $binding ) { if ( $binding instanceof Bootable ) { $binding->boot(); } } } return '' === $component ? $bindings : $bindings[ $component ]; }