1.0.0 Alpha Release #59
1 changed files with 24 additions and 0 deletions
24
src/ncc/Interfaces/RuntimeInterface.php
Normal file
24
src/ncc/Interfaces/RuntimeInterface.php
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace ncc\Interfaces;
|
||||||
|
|
||||||
|
use ncc\Abstracts\Versions;
|
||||||
|
use ncc\Exceptions\MissingDependencyException;
|
||||||
|
use ncc\Exceptions\PackageLockException;
|
||||||
|
use ncc\Exceptions\PackageNotFoundException;
|
||||||
|
use ncc\Exceptions\VersionNotFoundException;
|
||||||
|
use ncc\Objects\PackageLock\VersionEntry;
|
||||||
|
|
||||||
|
interface RuntimeInterface
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @param VersionEntry $versionEntry
|
||||||
|
* @param array $options
|
||||||
|
* @return mixed
|
||||||
|
* @throws PackageNotFoundException
|
||||||
|
* @throws VersionNotFoundException
|
||||||
|
* @throws PackageLockException
|
||||||
|
* @throws MissingDependencyException
|
||||||
|
*/
|
||||||
|
public static function import(VersionEntry $versionEntry, array $options=[]): bool;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue