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 32cfe3f

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

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+12
-0
lines changed

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

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

131+
/**
132+
* Finds a file by class name.
133+
*
134+
* @param string $class
135+
*
136+
* @return mixed Depends of the wrapped class loader "findFile" method implementation
137+
*/
138+
public function findFile($class)
139+
{
140+
return $this->isFinder ? $this->classLoader[0]->findFile($class) : false;
141+
}
142+
131143
/**
132144
* Loads the given class or interface.
133145
*

0 commit comments

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