1.0.0 Alpha Release #59

Merged
netkas merged 213 commits from v1.0.0_alpha into master 2023-01-29 23:27:58 +00:00
Showing only changes of commit 31ae2fcddd - Show all commits

View file

@ -0,0 +1,21 @@
<?php
namespace ncc\Interfaces;
use ncc\Objects\DefinedRemoteSource;
use ncc\Objects\RemotePackageInput;
interface RepositorySourceInterface
{
/**
* Fetches a package and all it's dependencies from the given remote source
* and optionally converts and compiles it to a local package, returns the
* fetched package as a path to the ncc package file. This function uses
* a defined remote source to fetch the package or build the package from.
*
* @param RemotePackageInput $packageInput
* @param DefinedRemoteSource $definedRemoteSource
* @return string
*/
public static function fetch(RemotePackageInput $packageInput, DefinedRemoteSource $definedRemoteSource): string;
}