Lines Matching refs:request
140 * @param ServerRequestInterface $request
144 public function handle(ServerRequestInterface $request): ResponseInterface argument
146 $tree = Validator::attributes($request)->tree();
147 $user = Validator::attributes($request)->user();
154 if ($request->getMethod() === RequestMethodInterface::METHOD_POST) {
157 'page' => Validator::parsedBody($request)->integer('page'),
158 'max' => Validator::parsedBody($request)->integer('max'),
159 'folder' => Validator::parsedBody($request)->string('folder'),
160 'filter' => Validator::parsedBody($request)->string('filter'),
161 'subdirs' => Validator::parsedBody($request)->boolean('subdirs', false),
162 … 'format' => Validator::parsedBody($request)->isInArrayKeys($formats)->string('format'),
169 $go = Validator::queryParams($request)->boolean('go', false);
170 $page = Validator::queryParams($request)->integer('page', 1);
171 $max = Validator::queryParams($request)->integer('max', 20);
172 $folder = Validator::queryParams($request)->string('folder', '');
173 $filter = Validator::queryParams($request)->string('filter', '');
174 $subdirs = Validator::queryParams($request)->boolean('subdirs', false);
175 $format = Validator::queryParams($request)->isInArrayKeys($formats)->string('format', '');