diff --git a/BaseHandler.php b/BaseHandler.php
index 9a2ee41554ad2b4c39d3862c73db7427045a713c..68c3fe4cf6dd98acf8471c6526f1c53ba54484a2 100644
--- a/BaseHandler.php
+++ b/BaseHandler.php
@@ -34,7 +34,7 @@ abstract class BaseHandler implements BaseHandlerInterface {
    *
    * @var \LakeDrops\Component\Composer\Config
    */
-  public $config;
+  protected $config;
 
   /**
    * @var \Symfony\Component\Console\Input\InputInterface
@@ -96,6 +96,14 @@ abstract class BaseHandler implements BaseHandlerInterface {
    */
   protected function postInit(): void {}
 
+  /**
+   * @return \LakeDrops\Component\Composer\Config
+   */
+  public function getConfig(): Config {
+    $this->init();
+    return $this->config;
+  }
+
   /**
    * {@inheritdoc}
    */