diff --git a/src/Transformer/Factory.php b/src/Transformer/Factory.php
index <HASH>..<HASH> 100644
--- a/src/Transformer/Factory.php
+++ b/src/Transformer/Factory.php
@@ -188,4 +188,16 @@ class Factory
     {
         return $this->bindings;
     }
+
+    /**
+     * Set the transformation layer at runtime.
+     *
+     * @param \Dingo\Api\Contract\Transformer\Adapter $transformer
+     *
+     * @return void
+     */
+    public function setTransformer(Adapter $transformer)
+    {
+        $this->transformer = $transformer;
+    }
 }
Allow developers to configure the transformation layer at runtime.