src/VendorDirectory.php
private function namespaces(): \Generator
    {
        foreach ($this->map() as $namespace => $directories) {
            if ($this->isValidNamespace($namespace, $directories)) {
                yield new Psr4Namespace($namespace, ...$directories);
            }
        }
    }
private function namespaces(): \Generator
    {
        foreach ($this->map() as $namespace => $directories) {
            if ($this->isValidNamespace($namespace, $directories)) {
                yield new Psr4Namespace($namespace, ...$directories);
            }
        }
    }
private function namespaces ( ) : \ Generator { foreach ( $ this -> map ( ) as $ namespace => $ directories ) { if ( $ this -> isValidNamespace ( $ namespace , $ directories ) ) { yield new Psr4Namespace ( $ namespace , ... $ directories ) ; } } }
Yield an instance of Psr4Namespace for each entry of the autoload map.

@return \Generator
Yield an instance of Psr4Namespace for each entry of the autoload map .