 diff --git a/node_modules/@pattern-lab/engine-twig-php/lib/engine_twig_php.js b/node_modules/@pattern-lab/engine-twig-php/lib/engine_twig_php.js
-index ac29cba..0e8b08e 100644
+index 461a10d..060e37e 100644
 --- a/node_modules/@pattern-lab/engine-twig-php/lib/engine_twig_php.js
 +++ b/node_modules/@pattern-lab/engine-twig-php/lib/engine_twig_php.js
 @@ -26,10 +26,9 @@ const engine_twig_php = {

+      const patternPath = path.isAbsolute(relPath)
+        ? path.relative(patternLabConfig.paths.source.root, relPath)
+        : relPath;
 
       let details = '';
       if (patternLabConfig.logLevel === 'debug') {
@@ -77,14 +87,15 @@ const engine_twig_php = {
 
       twigRenderer
         .render(patternPath, data)
-        .then(results => {

+  findPartialsRE: /{%\s*(?:extends|include|embed)\s+('[^']+'|"[^"]+").*?(with|%}|\s*%})/g,
+  findPartialKeyRE: /"((?:\\.|[^"\\])*)"|'((?:\\.|[^"\\])*)'/,
+  namespaces: [],

   /**
    * Accept a Pattern Lab config object from the core and put it in
@@ -47,24 +46,35 @@ const engine_twig_php = {

     const { namespaces, alterTwigEnv, relativeFrom } = config.engines.twig;

+    // Preserve the namespaces from the config so we can use them later to
+    // evaluate partials.
+    this.namespaces = namespaces;
