<?php
namespace Komma\Navigation;
class NavigationService {
protected $navigationRepository;
public function __construct(NavigationRepository $navigationRepository){
$this->navigationRepository = $navigationRepository;
}
public function getAll(){
return (object)['partners'=>$this->navigationRepository->partners(), 'facilities'=>$this->navigationRepository->facilities()];
}
}