src/FieldHandlers/Provider/FieldValue/MixedFieldValue.php
protected function provideFromRequest(RequestInterface $request, string $field) : string
    {
        Assert::isInstanceOf($request, ServerRequest::class);

        $data = $request->getData();

        $result = is_array($data) && array_key_exists($field, $data) ? (string)$data[$field] : '';

        return $result;
    }
protected function provideFromRequest(RequestInterface $request, string $field) : string
    {
        Assert::isInstanceOf($request, ServerRequest::class);

        $data = $request->getData();

        $result = is_array($data) && array_key_exists($field, $data) ? (string)$data[$field] : '';

        return $result;
    }
protected function provideFromRequest ( RequestInterface $ request , string $ field ) : string { Assert :: isInstanceOf ( $ request , ServerRequest :: class ) ; $ data = $ request -> getData ( ) ; $ result = is_array ( $ data ) && array_key_exists ( $ field , $ data ) ? ( string ) $ data [ $ field ] : '' ; return $ result ; }
Get field value from Request

Use $request->data[$field] if available.

@param \Psr\Http\Message\RequestInterface $request Request to look for field value in
@param string $field Field name
@return string Field value
Get field value from Request