Lines Matching refs:request

140      * @param ServerRequestInterface $request
144 public function handle(ServerRequestInterface $request): ResponseInterface argument
146 $tree = Validator::attributes($request)->tree();
147 $xref = Validator::attributes($request)->isXref()->string('xref');
148 $user = Validator::attributes($request)->user();
149 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
150 $spouses = Validator::attributes($request)->boolean('spouses', self::DEFAULT_SPOUSES);
151 $ajax = Validator::queryParams($request)->boolean('ajax', false);
154 if ($request->getMethod() === RequestMethodInterface::METHOD_POST) {
157 'xref' => Validator::parsedBody($request)->isXref()->string('xref'),
158 …'generations' => Validator::parsedBody($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIM…
159 … 'spouses' => Validator::parsedBody($request)->boolean('spouses', self::DEFAULT_SPOUSES),
200 * @param ServerRequestInterface $request
204 public function getAncestorsAction(ServerRequestInterface $request): ResponseInterface argument
206 $tree = Validator::attributes($request)->tree();
207 $xref = Validator::queryParams($request)->isXref()->string('xref');
220 * @param ServerRequestInterface $request
224 public function getDescendantsAction(ServerRequestInterface $request): ResponseInterface argument
226 $tree = Validator::attributes($request)->tree();
227 $xref = Validator::queryParams($request)->isXref()->string('xref');
228 $spouses = Validator::queryParams($request)->boolean('spouses', false);