Skip to content

Commit 4309c85

Browse files
adriendupuisdabrt
andcommitted
Rework PHP API intro (#2386) (minor fix)
--------- Co-authored-by: Tomasz Dąbrowski <[email protected]>
1 parent 036d924 commit 4309c85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/api/php_api/php_api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ You can access the PHP API by injecting relevant services into your code:
5555
!!! caution
5656

5757
The PHP API's services can be accessed with `Ibexa\Bundle\Core\Controller::getRepository()` by extending it from a [custom controller](controllers.md), but such approach is not recommended, and you should prefer dependency injection.
58+
5859
## Value objects
5960

6061
The services provide interaction with read-only value objects from the [`Ibexa\Contracts\Core\Repository\Values`](https://github.com/ibexa/core/tree/v4.6.6/src/contracts/Repository/Values) namespace.

0 commit comments

Comments
 (0)