Begin implementation of services for services/service options
This commit is contained in:
parent
7277f728a9
commit
2c77d5c44d
21 changed files with 567 additions and 408 deletions
|
@ -66,11 +66,19 @@ class LocationRepository extends SearchableRepository implements LocationReposit
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function allWithDetails()
|
||||
public function getAllWithDetails()
|
||||
{
|
||||
return $this->getBuilder()->withCount('nodes', 'servers')->get($this->getColumns());
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getAllWithNodes()
|
||||
{
|
||||
return $this->getBuilder()->with('nodes')->get($this->getColumns());
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
|
Reference in a new issue