From 7c4e3a091b5b6c1f32c731740f0dd0b01c43e86d Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Fri, 16 Feb 2024 16:15:16 -0500 Subject: [PATCH] get context set on container still working out the autoloader though --- bootstrap.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index 4f30753..cdfde3a 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -1,6 +1,8 @@ set( - // 'context', - // Context::all() - // ); - + $container->set( + 'context', + \NewfoldLabs\WP\Context\Context::all() + ); + // TODO: Set up a service ? // $container->set( 'contextService', $container->service( function () { return new ContextService(); } ) ); }