protected function registerAutoload($theme)
	{
        $composer = require(base_path('vendor/autoload.php'));
        
        $class = 'Themes\\'.$theme.'\\';
        $path  = $this->path('src/');

        if (! array_key_exists($class, $composer->getClassMap())) {
            $composer->addPsr4($class, $path);
        }
	}
protected function registerAutoload($theme)
	{
        $composer = require(base_path('vendor/autoload.php'));
        
        $class = 'Themes\\'.$theme.'\\';
        $path  = $this->path('src/');

        if (! array_key_exists($class, $composer->getClassMap())) {
            $composer->addPsr4($class, $path);
        }
	}
protected function registerAutoload ( $ theme ) { $ composer = require ( base_path ( 'vendor/autoload.php' ) ) ; $ class = 'Themes\\' . $ theme . '\\' ; $ path = $ this -> path ( 'src/' ) ; if ( ! array_key_exists ( $ class , $ composer -> getClassMap ( ) ) ) { $ composer -> addPsr4 ( $ class , $ path ) ; } }
Register the themes path as a PSR-4 reference.

@param  string  $theme
@return void
Register the themes path as a PSR - 4 reference .