PHP Class Monorepo\Build

The build step is very simple and consists of generating a vendor/autoload.php file similar to how Composer generates it. Prototype at Monorepo funtionality. No change detection yet.
ファイルを表示 Open project: beberlei/composer-monorepo-plugin Class Usage Examples

Public Methods

Method Description
__construct ( Composer\IO\IOInterface $io = null )
build ( $rootDirectory, $optimize = false, $noDevMode = false )
loadPackages ( $rootDirectory )

Private Methods

Method Description
loadMonorepoJson ( $contents, $path )
resolvePackageDependencies ( $repository, $packages, $packageName )

Method Details

__construct() public method

public __construct ( Composer\IO\IOInterface $io = null )
$io Composer\IO\IOInterface

build() public method

public build ( $rootDirectory, $optimize = false, $noDevMode = false )

loadPackages() public method

public loadPackages ( $rootDirectory )