protected function createAutoloadPsr(stdClass $autoloadPsr = null)
    {
        if (null !== $autoloadPsr) {
            $autoloadPsr = $this->objectToArray($autoloadPsr);
            foreach ($autoloadPsr as $namespace => $paths) {
                $autoloadPsr[$namespace] = $this->arrayize($paths);
            }
        }

        return $autoloadPsr;
    }
protected function createAutoloadPsr(stdClass $autoloadPsr = null)
    {
        if (null !== $autoloadPsr) {
            $autoloadPsr = $this->objectToArray($autoloadPsr);
            foreach ($autoloadPsr as $namespace => $paths) {
                $autoloadPsr[$namespace] = $this->arrayize($paths);
            }
        }

        return $autoloadPsr;
    }
protected function createAutoloadPsr ( stdClass $ autoloadPsr = null ) { if ( null !== $ autoloadPsr ) { $ autoloadPsr = $ this -> objectToArray ( $ autoloadPsr ) ; foreach ( $ autoloadPsr as $ namespace => $ paths ) { $ autoloadPsr [ $ namespace ] = $ this -> arrayize ( $ paths ) ; } } return $ autoloadPsr ; }
Create PSR-style autoload information from the supplied raw value.

This method currently works for both PSR-0 and PSR-4 data.

@param stdClass|null $autoloadPsr The raw PSR autoload data.

@return array<string,array<integer,string>>|null The newly created PSR autoload information.
Create PSR - style autoload information from the supplied raw value .