File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
src/DebugBar/DataCollector Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,16 @@ public function getXdebugReplacements()
289289 return $ this ->xdebugReplacements ;
290290 }
291291
292+ /**
293+ * @param array $xdebugReplacements
294+ */
295+ public function addXdebugReplacements ($ xdebugReplacements )
296+ {
297+ foreach ($ xdebugReplacements as $ serverPath => $ replacement ) {
298+ $ this ->setXdebugReplacement ($ serverPath , $ replacement );
299+ }
300+ }
301+
292302 /**
293303 * @param array $xdebugReplacements
294304 */
@@ -297,6 +307,10 @@ public function setXdebugReplacements($xdebugReplacements)
297307 $ this ->xdebugReplacements = $ xdebugReplacements ;
298308 }
299309
310+ /**
311+ * @param string $serverPath
312+ * @param string $replacement
313+ */
300314 public function setXdebugReplacement ($ serverPath , $ replacement )
301315 {
302316 $ this ->xdebugReplacements [$ serverPath ] = $ replacement ;
You can’t perform that action at this time.
0 commit comments