Added \ncc\Interfaces > RuntimeInterface
https://git.n64.cc/nosial/ncc/-/issues/33
This commit is contained in:
parent
c77c7fcd55
commit
b9252a0fda
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