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 4f690a3

Browse filesBrowse files
fancywebfabpot
authored andcommitted
[DebugClassLoader] Readd findFile() method
1 parent 78e6f28 commit 4f690a3
Copy full SHA for 4f690a3

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Open diff view settings
Collapse file

‎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
@@ -124,6 +124,11 @@ public static function disable()
124124
}
125125
}
126126

127+
public function findFile($class): ?string
128+
{
129+
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
130+
}
131+
127132
/**
128133
* Loads the given class or interface.
129134
*

0 commit comments

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