public static function findClassFileUsingPsr(string $class): string
    {
        $classLoader = self::classLoader();
        $originalClassMap = $classLoader->getClassMap();
        $classMap = &Objects::getPropertyValue($classLoader, 'classMap', ClassLoader::class);
        $classMap = [];

        if (!$file = self::classLoader()->findFile($class)) {
            throw new \LogicException(sprintf('The class "%s" file was not found.', $class));
        }

        $classMap = $originalClassMap;

        return $file;
    }
public static function findClassFileUsingPsr(string $class): string
    {
        $classLoader = self::classLoader();
        $originalClassMap = $classLoader->getClassMap();
        $classMap = &Objects::getPropertyValue($classLoader, 'classMap', ClassLoader::class);
        $classMap = [];

        if (!$file = self::classLoader()->findFile($class)) {
            throw new \LogicException(sprintf('The class "%s" file was not found.', $class));
        }

        $classMap = $originalClassMap;

        return $file;
    }
public static function findClassFileUsingPsr ( string $ class ) : string { $ classLoader = self :: classLoader ( ) ; $ originalClassMap = $ classLoader -> getClassMap ( ) ; $ classMap = & Objects :: getPropertyValue ( $ classLoader , 'classMap' , ClassLoader :: class ) ; $ classMap = [ ] ; if ( ! $ file = self :: classLoader ( ) -> findFile ( $ class ) ) { throw new \ LogicException ( sprintf ( 'The class "%s" file was not found.' , $ class ) ) ; } $ classMap = $ originalClassMap ; return $ file ; }
Finds a file using PSR0 while resetting composer PSR4 prefix this patch was loaded by.

@throws \LogicException
Finds a file using PSR0 while resetting composer PSR4 prefix this patch was loaded by .