Lines Matching refs:user
84 * @param UserInterface $user
88 …public function userBlock(ServerRequestInterface $request, UserInterface $user): ModuleBlockInterf… argument
94 ->where('user_id', '=', $user->id())
119 …_blocks = $this->module_service->findByComponent(ModuleBlockInterface::class, $tree, Auth::user());
138 * @param UserInterface $user
142 public function availableTreeBlocks(Tree $tree, UserInterface $user): Collection argument
144 return $this->module_service->findByComponent(ModuleBlockInterface::class, $tree, $user)
153 * @param UserInterface $user
157 public function availableUserBlocks(Tree $tree, UserInterface $user): Collection argument
159 return $this->module_service->findByComponent(ModuleBlockInterface::class, $tree, $user)
168 * @param UserInterface $user
173 public function treeBlocks(Tree $tree, UserInterface $user, string $location): Collection argument
181 return $this->filterActiveBlocks($rows, $this->availableTreeBlocks($tree, $user));
218 * @param UserInterface $user
223 public function userBlocks(Tree $tree, UserInterface $user, string $location): Collection argument
226 ->where('user_id', '=', $user->id())
231 return $this->filterActiveBlocks($rows, $this->availableUserBlocks($tree, $user));