src/Manager.php
protected function autoLoadMappingInfo()
	{
		$mappings = array();

		foreach (\Package::loaded() as $package => $path)
		{
			$mappings[] = $package . '::package';
		}

		foreach (\Module::loaded() as $module => $path)
		{
			$mappings[] = $module . '::module';
		}

		$mappings[] = 'app';

		$mappings = array_fill_keys($mappings, array('is_component' => true));

		$this->setMappings($mappings);
	}
protected function autoLoadMappingInfo()
	{
		$mappings = array();

		foreach (\Package::loaded() as $package => $path)
		{
			$mappings[] = $package . '::package';
		}

		foreach (\Module::loaded() as $module => $path)
		{
			$mappings[] = $module . '::module';
		}

		$mappings[] = 'app';

		$mappings = array_fill_keys($mappings, array('is_component' => true));

		$this->setMappings($mappings);
	}
protected function autoLoadMappingInfo ( ) { $ mappings = array ( ) ; foreach ( \ Package :: loaded ( ) as $ package => $ path ) { $ mappings [ ] = $ package . '::package' ; } foreach ( \ Module :: loaded ( ) as $ module => $ path ) { $ mappings [ ] = $ module . '::module' ; } $ mappings [ ] = 'app' ; $ mappings = array_fill_keys ( $ mappings , array ( 'is_component' => true ) ) ; $ this -> setMappings ( $ mappings ) ; }
Generates mapping information for packages, modules and the app

@return array
Generates mapping information for packages modules and the app