I'm currently working on a Laravel project that needs to access classes from its parent directory.

composer.json > PSR-4:

```
    "psr-4": {
        ...
        "ModuleA\\": "../ModuleA/baseObjects",
        "ModuleB\\": "../ModuleB/baseObjects"
    }

```

Example file structure:

```
/var/www
 +- /xxx (project)
     +- /ModuleA
        +- /baseObjects
            - configClass.inc
     +- /ModuleB
        +- /baseObjects
            - configClass.inc
     +- /laravel
        - composer.json

```

I run `composer dump-autoload` but the project still can't find `ModuleA\configClass` neither `ModuleB\configClass`.

Furthermore, inside my `autoload_psr4.php`, the above gets referenced as following:

```
'MobuleA\\' => array($baseDir . '/../MobuleA/baseObjects')
'MobuleB\\' => array($baseDir . '/../MobuleB/baseObjects')

```