This commit is contained in:
TomasVotruba 2020-01-31 12:06:04 +01:00
parent 94126cd5e5
commit 332c948ed9

View File

@ -230,6 +230,10 @@ final class ParsedNodesByType
return $traits;
}
/**
* Guessing the nearest neighboor.
* Used e.g. for "XController"
*/
public function findByShortName(string $shortName): ?Class_
{
foreach ($this->classes as $className => $classNode) {