Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 547b762

Browse filesBrowse files
committed
[DebugClassLoader] Readd findFile() method
1 parent 4ba6397 commit 547b762
Copy full SHA for 547b762

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎src/Symfony/Component/Debug/DebugClassLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/DebugClassLoader.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ public static function disable()
128128
}
129129
}
130130

131+
public function findFile($class): ?string
132+
{
133+
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
134+
}
135+
131136
/**
132137
* Loads the given class or interface.
133138
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.