original_string: protected function __autoload($className)
  	{
  		// Single modules autoload
  
  		foreach ($this->config('defaultAutoloads') as $key => $dir)
  		{
  			$fileName = $dir . DIRECTORY_SEPARATOR . $className . '.php';
  			$fileName = str_replace('\\', DIRECTORY_SEPARATOR, $fileName);
  
  			if (file_exists($fileName) && !class_exists($className))
  			{
  				$this->loadFiles[$className] = $fileName;
  
  				require $fileName;
  			}
  		}
  
  		// Multi-Modules autoload
  
  		$modules = array_merge([], $this->config('modules'));
  
  		foreach ($modules as $key => $module)
  		{
  			$module = ($module == '') ? $module : $module . DIRECTORY_SEPARATOR;
  
  			foreach ($this->config('mvcDirs') as $k => $mvc)
  			{
                  $phpFile  = explode("\\", $className);
                  $phpFile  = $phpFile[count($phpFile) - 1];
  				$fileName = $this->path . str_replace('\\', DIRECTORY_SEPARATOR, strtolower(str_replace($phpFile, '', $className))). $phpFile . '.php';
  
  				if (file_exists($fileName) && !class_exists($className))
  				{
  					$this->loadFiles[$className] = $fileName;
  
  					require $fileName;
  				}
  			}
  		}
  
  		// User custom autoloads
  
  		foreach ($this->config('autoloads') as $key => $dir)
  		{
  			$fileName = realpath($dir) . DIRECTORY_SEPARATOR . $className . '.php';
  			$fileName = str_replace('\\', DIRECTORY_SEPARATOR, $fileName);
  
  			if (file_exists($fileName) && !class_exists($className))
  			{
  				$this->loadFiles[$className] = $fileName;
  
  				require $fileName;
  			}
  		}
  	}
code: protected function __autoload($className)
  	{
  		// Single modules autoload
  
  		foreach ($this->config('defaultAutoloads') as $key => $dir)
  		{
  			$fileName = $dir . DIRECTORY_SEPARATOR . $className . '.php';
  			$fileName = str_replace('\\', DIRECTORY_SEPARATOR, $fileName);
  
  			if (file_exists($fileName) && !class_exists($className))
  			{
  				$this->loadFiles[$className] = $fileName;
  
  				require $fileName;
  			}
  		}
  
  		// Multi-Modules autoload
  
  		$modules = array_merge([], $this->config('modules'));
  
  		foreach ($modules as $key => $module)
  		{
  			$module = ($module == '') ? $module : $module . DIRECTORY_SEPARATOR;
  
  			foreach ($this->config('mvcDirs') as $k => $mvc)
  			{
                  $phpFile  = explode("\\", $className);
                  $phpFile  = $phpFile[count($phpFile) - 1];
  				$fileName = $this->path . str_replace('\\', DIRECTORY_SEPARATOR, strtolower(str_replace($phpFile, '', $className))). $phpFile . '.php';
  
  				if (file_exists($fileName) && !class_exists($className))
  				{
  					$this->loadFiles[$className] = $fileName;
  
  					require $fileName;
  				}
  			}
  		}
  
  		// User custom autoloads
  
  		foreach ($this->config('autoloads') as $key => $dir)
  		{
  			$fileName = realpath($dir) . DIRECTORY_SEPARATOR . $className . '.php';
  			$fileName = str_replace('\\', DIRECTORY_SEPARATOR, $fileName);
  
  			if (file_exists($fileName) && !class_exists($className))
  			{
  				$this->loadFiles[$className] = $fileName;
  
  				require $fileName;
  			}
  		}
  	}
code_tokens: protected function __autoload ( $ className ) { // Single modules autoload
   foreach ( $ this -> config ( 'defaultAutoloads' ) as $ key => $ dir ) { $ fileName = $ dir . DIRECTORY_SEPARATOR . $ className . '.php' ; $ fileName = str_replace ( '\\' , DIRECTORY_SEPARATOR , $ fileName ) ; if ( file_exists ( $ fileName ) && ! class_exists ( $ className ) ) { $ this -> loadFiles [ $ className ] = $ fileName ; require $ fileName ; } } // Multi-Modules autoload
   $ modules = array_merge ( [ ] , $ this -> config ( 'modules' ) ) ; foreach ( $ modules as $ key => $ module ) { $ module = ( $ module == '' ) ? $ module : $ module . DIRECTORY_SEPARATOR ; foreach ( $ this -> config ( 'mvcDirs' ) as $ k => $ mvc ) { $ phpFile = explode ( "\\" , $ className ) ; $ phpFile = $ phpFile [ count ( $ phpFile ) - 1 ] ; $ fileName = $ this -> path . str_replace ( '\\' , DIRECTORY_SEPARATOR , strtolower ( str_replace ( $ phpFile , '' , $ className ) ) ) . $ phpFile . '.php' ; if ( file_exists ( $ fileName ) && ! class_exists ( $ className ) ) { $ this -> loadFiles [ $ className ] = $ fileName ; require $ fileName ; } } } // User custom autoloads
   foreach ( $ this -> config ( 'autoloads' ) as $ key => $ dir ) { $ fileName = realpath ( $ dir ) . DIRECTORY_SEPARATOR . $ className . '.php' ; $ fileName = str_replace ( '\\' , DIRECTORY_SEPARATOR , $ fileName ) ; if ( file_exists ( $ fileName ) && ! class_exists ( $ className ) ) { $ this -> loadFiles [ $ className ] = $ fileName ; require $ fileName ; } } }
docstring: Autoload callable method
  
  @param string $className
  @return void
docstring_tokens: Autoload callable method