src/Priskz/SORAD/Laravel/APIServiceProvider.php
public function loadRoutesClasses()
	{
		// Application Specific Module Route File Locations
		if(Config::get('sorad.api.routes.class') && is_array(Config::get('sorad.api.routes.class')))
		{
			foreach(Config::get('sorad.api.routes.class') as $route => $config)
			{
				$route = sprintf('\\%s', $route);

				if(class_exists($route))
				{
					$route::load($config);
				}
				elseif(class_exists(sprintf('%s\\%s', $route,$this->getRouteClassName())))
				{
					sprintf('%s\\%s', $route,$this->getRouteClassName())::load($config);
				}
			}
		}
	}
public function loadRoutesClasses()
	{
		// Application Specific Module Route File Locations
		if(Config::get('sorad.api.routes.class') && is_array(Config::get('sorad.api.routes.class')))
		{
			foreach(Config::get('sorad.api.routes.class') as $route => $config)
			{
				$route = sprintf('\\%s', $route);

				if(class_exists($route))
				{
					$route::load($config);
				}
				elseif(class_exists(sprintf('%s\\%s', $route,$this->getRouteClassName())))
				{
					sprintf('%s\\%s', $route,$this->getRouteClassName())::load($config);
				}
			}
		}
	}
public function loadRoutesClasses ( ) { // Application Specific Module Route File Locations if ( Config :: get ( 'sorad.api.routes.class' ) && is_array ( Config :: get ( 'sorad.api.routes.class' ) ) ) { foreach ( Config :: get ( 'sorad.api.routes.class' ) as $ route => $ config ) { $ route = sprintf ( '\\%s' , $ route ) ; if ( class_exists ( $ route ) ) { $ route :: load ( $ config ) ; } elseif ( class_exists ( sprintf ( '%s\\%s' , $ route , $ this -> getRouteClassName ( ) ) ) ) { sprintf ( '%s\\%s' , $ route , $ this -> getRouteClassName ( ) ) :: load ( $ config ) ; } } } }
Load Routes Classes

@return void
Load Routes Classes