Property | Type | Description | |
---|---|---|---|
$directory | string | The directory path. |
Method | Description | |
---|---|---|
__construct ( string $directory ) : void | Create a new composer instance. | |
getInstalledPackages ( ) : array | Get installed package versions. | |
getRequiredPackages ( ) : array | Get required package versions. |
Method | Description | |
---|---|---|
getFileContents ( string $file ) : array | Get file content. |
public __construct ( string $directory ) : void | ||
$directory | string | |
return | void |
protected getFileContents ( string $file ) : array | ||
$file | string | |
return | array |
public getInstalledPackages ( ) : array | ||
return | array |
public getRequiredPackages ( ) : array | ||
return | array |