Skip to content

Commit 4f690a3

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Debug/DebugClassLoader.php

Lines 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)