-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style #277 Docs improvements (sstok)
This PR was merged into the 2.0-dev branch. Discussion ---------- The SearchProcessor, Optimizers and support for Array and XML input has been long removed. However the documentation was not updated, and I improved some other things. Commits ------- 210c4ac [Doc] Clean-up removed features 95b075f [Doc] Remove mentioning of v1.0 (unmaintained) 136b9ec [Doc] Simplify introduction by moving some parts 0a5d2c6 [Doc] rewrite installation instructions a4d0563 [Doc] Update processing instructions dc6ab83 [Doc] correct some minor types afebc9d [Doc] Update Symfony bundle examples
- Loading branch information
Showing
13 changed files
with
351 additions
and
614 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FieldSetRegistry | ||
---------------- | ||
|
||
A FieldSetRegistry (:class:`Rollerworks\\Component\\Search\\FieldSetRegistry`) | ||
allows to load a :ref:`FieldSet <fieldset>` from a registry. | ||
|
||
The default :class:`Rollerworks\\Component\\Search\\LazyFieldSetRegistry` allows | ||
to load a FieldSet using the FQCN of a FieldSetConfigurator or by using | ||
a `PSR-11`_ compatible container. | ||
|
||
.. code-block:: php | ||
use Rollerworks\Component\Search\LazyFieldSetRegistry; | ||
$container = ...; | ||
$registry = new LazyFieldSetRegistry($container, ['fieldset-name' => 'service-id']); | ||
The FieldSetRegistry is amongst used when unserializing a serialized SearchCondition, | ||
so that you don't have to inject the FieldSet explicitly. | ||
|
||
.. _`PSR-11`: http://www.php-fig.org/psr/psr-11/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.