@@ -31,9 +31,6 @@ class Engine
3131 CONTENT_ICAL = ContentType::ICal,
3232 CONTENT_TEXT = ContentType::Text;
3333
34- /** @internal */
35- public $ probe ;
36-
3734 private ?Loader $ loader = null ;
3835 private Runtime \FilterExecutor $ filters ;
3936 private \stdClass $ functions ;
@@ -54,7 +51,6 @@ public function __construct()
5451 $ this ->filters = new Runtime \FilterExecutor ;
5552 $ this ->functions = new \stdClass ;
5653 $ this ->providers = new \stdClass ;
57- $ this ->probe = function () {};
5854 $ this ->addExtension (new Essential \CoreExtension );
5955 $ this ->addExtension (new Sandbox \SandboxExtension );
6056 }
@@ -68,7 +64,6 @@ public function render(string $name, object|array $params = [], ?string $block =
6864 {
6965 $ template = $ this ->createTemplate ($ name , $ this ->processParams ($ params ));
7066 $ template ->global ->coreCaptured = false ;
71- ($ this ->probe )($ template );
7267 $ template ->render ($ block );
7368 }
7469
@@ -81,7 +76,6 @@ public function renderToString(string $name, object|array $params = [], ?string
8176 {
8277 $ template = $ this ->createTemplate ($ name , $ this ->processParams ($ params ));
8378 $ template ->global ->coreCaptured = true ;
84- ($ this ->probe )($ template );
8579 return $ template ->capture (fn () => $ template ->render ($ block ));
8680 }
8781
0 commit comments