Finalize service option import/export
This commit is contained in:
parent
d608c313c3
commit
6269a08db7
16 changed files with 405 additions and 271 deletions
|
@ -33,6 +33,16 @@ interface ServiceOptionRepositoryInterface extends RepositoryInterface
|
|||
*/
|
||||
public function getWithCopyAttributes(int $id): ServiceOption;
|
||||
|
||||
/**
|
||||
* Return all of the data needed to export a service.
|
||||
*
|
||||
* @param int $id
|
||||
* @return \Pterodactyl\Models\ServiceOption
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function getWithExportAttributes(int $id): ServiceOption;
|
||||
|
||||
/**
|
||||
* Confirm a copy script belongs to the same service as the item trying to use it.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue