/** * @param NavigationRepositoryInterface $repository */ public function __construct(NavigationRepositoryInterface $repository) { $this->repository = $repository; // set initial backend url $this->repository->getModel()->href = \Config::get('pageblok::settings.backend') . '/'; parent::__construct(); }
public function __construct(BlockRepositoryInterface $blockRepository) { $this->repository = $blockRepository; $this->groups = $blockRepository->getGroups(); parent::__construct(); }
/** * Default constructor * @param SettingRepositoryInterface $settingRepository */ public function __construct(SettingRepositoryInterface $settingRepository) { $this->repository = $settingRepository; parent::__construct(); }
/** * * @param PageRepositoryInterface $pageRepository */ public function __construct(PageRepositoryInterface $pageRepository) { $this->repository = $pageRepository; parent::__construct(); }