Skip to content

Commit d409121

Browse files
authored
Repository explanation wordings (#5997)
1 parent 5be593c commit d409121

File tree

1 file changed

+7
-7
lines changed
  • Documentation/ExtensionArchitecture/Extbase/Reference/Domain/Repository

1 file changed

+7
-7
lines changed

Documentation/ExtensionArchitecture/Extbase/Reference/Domain/Repository/Index.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ then the corresponding repository is named *BlogRepository* (with the full name
2121
:php:`\FriendsOfTYPO3\BlogExample\Domain\Repository\BlogRepository`).
2222

2323
The :php:`\TYPO3\CMS\Extbase\Persistence\Repository` already offers a large
24-
number of useful functions. Therefore, in simple classes that extend the
25-
:php:`Repository` class and leaving the class empty otherwise is sufficient.
24+
number of useful methods. Therefore it is sufficient that a class only extends the
25+
:php:`Repository` class.
2626

27-
The :php:`BlogRepository` sets some default orderings and is otherwise empty:
27+
The :php:`BlogRepository` sets the default orderings and is otherwise empty:
2828

2929
.. include:: /CodeSnippets/Extbase/Domain/BlogRepository.rst.txt
3030

@@ -33,22 +33,22 @@ The :php:`BlogRepository` sets some default orderings and is otherwise empty:
3333

3434
.. seealso::
3535
If you are using the :composer:`stefanfroemken/ext-kickstarter` you can use
36-
command `vendor/bin/typo3 make:repository` to generate an Extbase repository.
36+
the command :command:`vendor/bin/typo3 make:repository` to generate an Extbase repository.
3737

3838
.. _extbase-repository-find-methods:
3939

4040
Find methods
4141
============
4242

4343
.. versionchanged:: 14.0
44-
The "magic" find methods `findByX()`, `findOneByX()` and `countByX()` have
44+
The "magic" find methods :php:`findByX()`, :php:`findOneByX()` and :php:`countByX()` have
4545
been removed. See :ref:`t3coreapi/13:extbase-repository-find-by-magic-migration`
4646

47-
The (not-magic) methods `findByUid()` and `findByIdentifier()` have **not**
47+
The (not-magic) methods :php:`findByUid()` and :php:`findByIdentifier()` have **not**
4848
been deprecated or removed, and are still valid.
4949

5050
Using these methods will fetch a given domain object by it's UID, ignoring possible storage
51-
page settings - unlike `findBy([...])`, which does respect those settings.
51+
page settings - unlike :php:`findBy([...])`, which does respect those settings.
5252

5353
The :php:`Repository` class provides the following methods for querying against
5454
arbitrary criteria:

0 commit comments

Comments
 (0)