Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
LayoutTemplatesServiceProvider{}
Service provider for layout templates.
No Hooks.
Usage
$LayoutTemplatesServiceProvider = new LayoutTemplatesServiceProvider(); // use class methods
Methods
- public register()
LayoutTemplatesServiceProvider{} LayoutTemplatesServiceProvider{} code WC 9.3.3
class LayoutTemplatesServiceProvider extends AbstractServiceProvider { /** * The classes/interfaces that are serviced by this service provider. * * @var array */ protected $provides = array( LayoutTemplateRegistry::class, ); /** * Register the classes. */ public function register() { $this->share( LayoutTemplateRegistry::class ); } }