Skip to content

Commit

Permalink
[DebugClassLoader] Readd findFile() method
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb authored and fabpot committed Jan 13, 2019
1 parent 78e6f28 commit 4f690a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Symfony/Component/Debug/DebugClassLoader.php
Expand Up @@ -124,6 +124,11 @@ public static function disable()
}
}

public function findFile($class): ?string
{
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
}

/**
* Loads the given class or interface.
*
Expand Down

0 comments on commit 4f690a3

Please sign in to comment.