Move server creation over to new service/repository setup.
Moves tons of functions around, but the basic implementation is working again. Some features are still missing, and the service never actually commits the server to the database right now. This push is mostly just to get the code into Github and backed up.
This commit is contained in:
parent
736a323eff
commit
0c513f24d5
35 changed files with 1398 additions and 44 deletions
|
@ -35,4 +35,21 @@ interface ServerRepositoryInterface extends RepositoryInterface, SearchableInter
|
|||
* @return mixed
|
||||
*/
|
||||
public function getAllServers($paginate);
|
||||
|
||||
/**
|
||||
* Return a server model and all variables associated with the server.
|
||||
*
|
||||
* @param int $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function findWithVariables($id);
|
||||
|
||||
/**
|
||||
* Return all of the server variables possible and default to the variable
|
||||
* default if there is no value defined for the specific server requested.
|
||||
*
|
||||
* @param int $id
|
||||
* @return array
|
||||
*/
|
||||
public function getVariablesWithValues($id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue