Skip to content
Snippets Groups Projects
Commit f3f25c7c authored by David Maus's avatar David Maus
Browse files

Add and use schematics

parent 86260a41
No related branches found
No related tags found
No related merge requests found
...@@ -12,12 +12,16 @@ General Public License v3 or higher. ...@@ -12,12 +12,16 @@ General Public License v3 or higher.
Using the invoker Using the invoker
-- --
![Using the Invoker](docs/invoker.png "Using the Invoker")
The [Invoker](src/HAB/Solr/Command/Search.php) reads the query parameters from the [Command](src/HAB/Solr/Command/Search.php), The [Invoker](src/HAB/Solr/Command/Search.php) reads the query parameters from the [Command](src/HAB/Solr/Command/Search.php),
optionally merges them with static or dynamic default parameters, and communicates with the Solr backend using a optionally merges them with static or dynamic default parameters, and communicates with the Solr backend using a
[Guzzle](http://guzzlephp.org) HTTP client. [Guzzle](http://guzzlephp.org) HTTP client.
The body of the Solr response is passed to [Command](src/HAB/Solr/Command/Search.php). The body of the Solr response is passed to [Command](src/HAB/Solr/Command/Search.php).
Using the search command Using the search command
-- --
......
docs/invoker.png

9.37 KiB

@startuml
Controller -> Invoker : invoke()
Invoker -> Command : getParameters()
Invoker <- Command : [ParamBag]
Invoker --> Solr : HTTP Request
Invoker <-- Solr : HTTP Response
Invoker -> Command : setResponse()
Controller <- Command : getResult()
@enduml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment